Title: Extra breaks
Last modified: August 21, 2016

---

# Extra breaks

 *  [Mike Stefanik](https://wordpress.org/support/users/mike-stefanik/)
 * (@mike-stefanik)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/extra-breaks/)
 * It looks like Enlighter is inserting `<br></br>` tags (exactly like that) between
   certain elements. It seems to be cropping up between span tags. Obviously it 
   causes formatting problems, but it’s also malformed HTML. The br tag is an empty
   tag, it should never be used to try and enclose anything. In any case, as soon
   as I disable Enlighter, no more extraneous br tags end up being inserted anywhere.
   It’s unfortunate, because it looks like a fairly slick plugin, but for me, it’s
   unusable in its current state.
 * [https://wordpress.org/plugins/enlighter/](https://wordpress.org/plugins/enlighter/)

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

 *  Plugin Author [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * (@andi-dittrich)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/extra-breaks/#post-5053700)
 * Dear Mike,
    thank’s for your feedback. That seems to be a very strange problem…
   could you provide me an example ? Are you using the VisualEditor or Shortcode
   mode ? Generally Enlighter doesn’t add any linebreaks.
 * WordPress itself causes some problems by adding br/p tags (wpautop filter), but
   the Enlighter Settings Advanced Options -> “WpAutoP” Filter Priority should avoid
   such issues.
    Are you using any other highlighting/formatting plugins which may
   cause the malformed code ? What happens if you disable all plugins other than
   Enlighter ?
 * best regards, Andi
 *  Thread Starter [Mike Stefanik](https://wordpress.org/support/users/mike-stefanik/)
 * (@mike-stefanik)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/extra-breaks/#post-5053701)
 * I’m using a theme in conjunction with Visual Composer, but it really isn’t practical
   for me to disable all other plugins (because the theme itself depends on a few,
   and the site just wouldn’t work at all at that point). I do know when I went 
   through and systematically disabled the other non-theme related plugins trying
   to pin down what could be causing it, it was Elighter that seemed to be the issue.
 * With all other plugins enabled, with Enlighter enabled, the problem occurred,
   with it disabled, the extra `<br></br>` pairs were no longer being generated.
   It may be some specific interaction with Enlighter and Visual Composer or another
   plugin, but at this point, the path of least resistance for my particular site
   is to find another syntax highlighter plugin, rather than replace a bunch of 
   other plugins.
 *  Plugin Author [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * (@andi-dittrich)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/extra-breaks/#post-5053703)
 * Well..VisualComposer may cause this issue, because it’s very deeply integrated
   into WordPress and it’s filters as well as modifies the content. Generally i 
   cannot test Enlighter against every Content-Managing tool, sorry for this but
   it’s an off time project. With pure TinyMCE it will work fine! 🙂
 * Maybe “WP Syntax Highlighter” or “crayon syntax highlighter” will work for you.
 * btw. it would be great if you can add a remark to your review that you’r using
   VisualComposer.
 *  Thread Starter [Mike Stefanik](https://wordpress.org/support/users/mike-stefanik/)
 * (@mike-stefanik)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/extra-breaks/#post-5053704)
 * Sure, I can do that. And I really did like how Enlighter works, I just thought
   it was strange that it was impacting pages (somehow) that had no syntax highlighting
   used on them at all.
 *  Plugin Author [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * (@andi-dittrich)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/extra-breaks/#post-5053706)
 * thanks!
    the only possibility can be the option `Enlighter Settings Advanced 
   Options -> "WpAutoP" Filter Priority` this is the only function which modifies
   the standard WordPress behaviour on each page (including a warning). I believe
   the WpAutoP in combination with the VisualComposer and Enlighter will cause the
   issue and it should disappear when changing these option to “default – no change”

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

The topic ‘Extra breaks’ is closed to new replies.

 * ![](https://ps.w.org/enlighter/assets/icon-256x256.png?rev=1215872)
 * [Enlighter - Customizable Syntax Highlighter](https://wordpress.org/plugins/enlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/enlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enlighter/reviews/)

## Tags

 * [<br>](https://wordpress.org/support/topic-tag/br/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [linebreak](https://wordpress.org/support/topic-tag/linebreak/)
 * [malformed](https://wordpress.org/support/topic-tag/malformed/)
 * [tag](https://wordpress.org/support/topic-tag/tag/)

 * 5 replies
 * 2 participants
 * Last reply from: [Andi Dittrich](https://wordpress.org/support/users/andi-dittrich/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/extra-breaks/#post-5053706)
 * Status: not resolved