Answers.Body: <p>Seems like a simple <a href="http://twig.sensiolabs.org/doc/filters/striptags.html" rel="nofollow"><code>striptags</code></a> filter would do nicely in this case:</p>
  
  <pre><code>&lt;h1&gt;{{ entry.titleField|striptags('&lt;strong&gt;&lt;em&gt;&lt;br&gt;')|raw }}&lt;/h1&gt;
  </code></pre>
  
  <p>If you're having issues with linebreaks, you might want to add the <a href="http://twig.sensiolabs.org/doc/filters/nl2br.html" rel="nofollow"><code>nl2br</code></a> filter as well:</p>
  
  <pre><code>&lt;h1&gt;{{ entry.titleField|striptags('&lt;strong&gt;&lt;em&gt;&lt;br&gt;')|raw|nl2br }}&lt;/h1&gt;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-19T12:44:25.323Z
Answers.Text: Didn't know this was a thing. To add something on it.  Use `|raw` behind the 'striptags()' Function if you also include `<a>` tags or else they show the entire tag. Atleast on my end.
Answers.UserDisplayName: Justin Dekkers
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-19T12:45:47.470Z
Answers.Text: You're absolutely right, @JustinDekkers – I'll add the `|raw` filter to my answer. Thanks!
Answers.UserDisplayName: Mats Mikkel Rummelhoff
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-17T19:29:33.927Z
Answers.LastActivityDate: 2016-10-19T12:46:00.153Z
Answers.LastEditDate: 2016-10-19T12:46:00.153Z
Answers.UserDisplayName: Mats Mikkel Rummelhoff
Answers.Body: <p>Another option would be to use <a href="https://github.com/pixelandtonic/Parsedown" rel="nofollow">Parsedown</a> to add formatting:</p>
  
  <pre><code>{{entry.titleField|pd('line')}}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-19T16:22:30.580Z
Answers.LastActivityDate: 2016-10-19T16:22:30.580Z
Answers.UserDisplayName: Marion Newlevant
Body: <p><strong>Before you think this has already been answered, yes it is but I can't manage to get that fix working so I'm looking for another one.</strong></p>
  
  <p>I have a "title" field in a couple of my matrix blocks but my client want's to add a Bold word every now and then. Now I tried that with a rich text field which works fine except that it keeps adding a <code>&lt;p&gt;</code> tag to my text which makes the Indexing go wrong etc plus it shouldn't be so hard to remove but apparently it is...</p>
  
  <p>This is my custom json at the moment:</p>
  
  <pre><code>{
      buttons: ['bold', 'italic'],
      maxHeight: 50,
      paragraphize: false,
      replaceDivs: false,
      linebreaks: true,
      enterKey: false
  }
  </code></pre>
  
  <p>In every fix I find here this should do it but somehow it wont..</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-17T18:22:37.067Z
Comments.Text: Can you link to the similar solutions which you have already tried?
Comments.UserDisplayName: Lindsey D
Tags: <templating><redactor><richtext><json>
Title: Removing P tag's in rich text area's
ThreadText: # Removing P tag's in rich text area's
  
  (Asked by: username_0 on 2016-10-17)
  
  **Before you think this has already been answered, yes it is but I can't manage to get that fix working so I'm looking for another one.**
  
  I have a "title" field in a couple of my matrix blocks but my client want's to add a Bold word every now and then. Now I tried that with a rich text field which works fine except that it keeps adding a `<p>` tag to my text which makes the Indexing go wrong etc plus it shouldn't be so hard to remove but apparently it is...
  
  This is my custom json at the moment:
  
  ```
  {
      buttons: ['bold', 'italic'],
      maxHeight: 50,
      paragraphize: false,
      replaceDivs: false,
      linebreaks: true,
      enterKey: false
  }
  
  ```
  
  In every fix I find here this should do it but somehow it wont..
  
  **Tags:** templating, redactor, richtext, json
  
  > **Comments:**
  > **username_1**: Can you link to the similar solutions which you have already tried?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2016-10-17. Score: 5 | Accepted answer
  
  Seems like a simple [`striptags`](http://twig.sensiolabs.org/doc/filters/striptags.html) filter would do nicely in this case:
  
  ```
  <h1>{{ entry.titleField|striptags('<strong><em><br>')|raw }}</h1>
  
  ```
  
  If you're having issues with linebreaks, you might want to add the [`nl2br`](http://twig.sensiolabs.org/doc/filters/nl2br.html) filter as well:
  
  ```
  <h1>{{ entry.titleField|striptags('<strong><em><br>')|raw|nl2br }}</h1>
  
  ```
  
  > **Comments:**
  > **username_0**: Didn't know this was a thing. To add something on it.  Use `|raw` behind the 'striptags()' Function if you also include `<a>` tags or else they show the entire tag. Atleast on my end.  
  > **username_2**: You're absolutely right, @username_0 – I'll add the `|raw` filter to my answer. Thanks!  
  
  ---
  
  ### Answer by username_3 on 2016-10-19. Score: 1
  
  Another option would be to use [Parsedown](https://github.com/pixelandtonic/Parsedown) to add formatting:
  
  ```
  {{entry.titleField|pd('line')}}
  
  ```
  
  
  ---
  
  