Title: wpautop extra  tags&#8230;..
Last modified: August 30, 2016

---

# wpautop extra tags…..

 *  [bh36](https://wordpress.org/support/users/bh36/)
 * (@bh36)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/wpautop-extra-tags/)
 * I am getting auto generated <p> tags.
 * The P tags contain 2 spaces in them…. <p> </p>
    I know this is something related
   with TinyMCE. We had an old plugin from “Preserved HTML Editor” installed and
   the problem started occuring. I removed the plugin and it was still auto generating
   P tags but with 1 space…. <p> </p>
 * Now its generating 2 spaces <p> </p> and I don’t have a clue of fixing it..
    
   I tried <?php remove_filter (‘the_content’, ‘wpautop’); ?> and it does not work
   for me..
 * I would use this script as a temporary fix back when the P tags were single spaced…
 * <!– ?php remove_filter (‘the_content’, ‘wpautop’); ?–>
    <script> $(document).
   ready(function() { $(‘p’).each(function() {
 *  var $ps = $(this);
    if ($ps.html().replace(/\s| /g, ”).length == 0) $ps.remove();});});
   </script>
 * Anyone know how to stop this from happening…

The topic ‘wpautop extra tags…..’ is closed to new replies.

## Tags

 * [tinymce](https://wordpress.org/support/topic-tag/tinymce/)
 * [wpautop](https://wordpress.org/support/topic-tag/wpautop/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [bh36](https://wordpress.org/support/users/bh36/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/wpautop-extra-tags/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
