Title: Extra paragraph tags
Last modified: August 20, 2016

---

# Extra paragraph tags

 *  Resolved [Sebastien Couture](https://wordpress.org/support/users/scouture/)
 * (@scouture)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/extra-paragraph-tags-1/)
 * Hello,
 * I’ve noticed that when Event Manager parses #_EVENTNOTES in my template, extra
   paragraph tags are added before and after the main content.
 * I’ve went ahead and added the following code to my functions.php file, however
   this removes all paragraph tags from the content.
 *     ```
       function my_em_function(){
       	remove_filter('dbem_notes', 'wpautop');
       }
       add_action('init','my_em_function');
       ```
   
 * How can I get EM to output the content properly, that is for WP to add paragraph
   tags to the event content but not extra ones before and after?
 * Thank you

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/extra-paragraph-tags-1/#post-3341992)
 * chances are you want this:
    [http://codex.wordpress.org/Function_Reference/wpautop#Disabling_the_filter](http://codex.wordpress.org/Function_Reference/wpautop#Disabling_the_filter)
 *  Thread Starter [Sebastien Couture](https://wordpress.org/support/users/scouture/)
 * (@scouture)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/extra-paragraph-tags-1/#post-3342003)
 * Hello,
 * Thank you got your reply. However, could you be a bit more specific? It’s not
   clear to me when what filter I need to apply.
 * I tried this but nothing happened :
 *     ```
       function my_em_function(){
       	remove_filter('the_content', 'wpautop');
       }
       add_action('init','my_em_function');
       ```
   
 * Again I don’t wish to disable the automatic paragraphs within my content, simply
   to fix the fact that extra tags are being added before and after #_EVENTNOTES.
 * Thank you
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/extra-paragraph-tags-1/#post-3342022)
 * have you tried this post – [http://wordpress.org/support/topic/plugin-events-manager-remove-from-_eventnotes?replies=4](http://wordpress.org/support/topic/plugin-events-manager-remove-from-_eventnotes?replies=4)
 *  Thread Starter [Sebastien Couture](https://wordpress.org/support/users/scouture/)
 * (@scouture)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/extra-paragraph-tags-1/#post-3342023)
 * Yes, as indicated above, I tried that but that just removes all paragraph tags
   from the content.
 * I installed EM on a other site and I’m having the same problem. This should really
   be fixed at the plugin level as it produces invalid HTML and has the potential
   to cause issues in styling.
 *  Plugin Author [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/extra-paragraph-tags-1/#post-3342027)
 * does it happen when you use e.g. Twenty Twelve?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Extra paragraph tags’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [formatting](https://wordpress.org/support/topic-tag/formatting/)
 * [paragraph](https://wordpress.org/support/topic-tag/paragraph/)

 * 5 replies
 * 3 participants
 * Last reply from: [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/extra-paragraph-tags-1/#post-3342027)
 * Status: resolved