Title: Breaks html
Last modified: September 2, 2016

---

# Breaks html

 *  [Johan Edlund](https://wordpress.org/support/users/pjedlund2013/)
 * (@pjedlund2013)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/breaks-html/)
 * Hi Luděk,
 * I’m sorry to complain since I know you’ve spent a lot of time and effort working
   on this.
 * The problem with this plugin, like so many other plugins, is that it messes up
   the html and thus breaks validation. HTML output after plugin-activation:
 *     ```
       <p>...Paragraph text...<br />
       <a name="rubrik"></a><br />
       <h3>Rubrik</h3>
       <p>...Paragraph text...<br />
       <a name="rubrik-2"></a><br />
       <h3>Rubrik 2</h3>
       <p>...Paragraph text...</p>
       ```
   
 * Two open paragraphs and a bunch of nasty `<br />` tags that adds unwanted whitespace.
 * Hope you can look into this and fix so that the html validates. It’d also be 
   good if you had a class for the anchor so that you can target the link with css:
 * `<a class="mwm-anchor" name="rubrik"></a>`

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

 *  Plugin Author [elpresidento](https://wordpress.org/support/users/elpresidento/)
 * (@elpresidento)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/breaks-html/#post-7788875)
 * Hi Johan
    BAL doesnt add any br or whitespaces. BAL searching heading only and
   add a name tag to body before heading (+ link to contents in devel version 1.6
   nex to heading). I recomend check your source in html.
 *  [Danly_Dan](https://wordpress.org/support/users/danly_dan/)
 * (@danly_dan)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/breaks-html/#post-7788884)
 * I can confirm on my installation and application of BAL, it does NOT leave open
   ended paragraph tags or add any break tags…

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

The topic ‘Breaks html’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/better-anchor-links_f1f1f1.svg)
 * [Better Anchor Links](https://wordpress.org/plugins/better-anchor-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-anchor-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-anchor-links/)
 * [Active Topics](https://wordpress.org/support/plugin/better-anchor-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-anchor-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-anchor-links/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Danly_Dan](https://wordpress.org/support/users/danly_dan/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/breaks-html/#post-7788884)