[Resolved] Remove unwanted BR linebreak after tag
This is a straight follow-up to http://wordpress.org/support/topic/remove-unwanted-br-linebreaks-after-label-tags which has been closed.
I have the exact same issue, something is adding breaks after </label> tags. The affected code is part of Store Locator Plus plugin, I found the relevant part in the plugin that generates this HTML code and there’s definitely no
I tried the remove_bad_br_tags function hook mentioned in the thread; I verified that it works for replacing other kinds of text in the document but it doesn’t see the </label> tag. Basically
$content = str_ireplace("</label>", "foobar", $content);
doesn’t do anything.
The offending page is http://www.test2004.zylight.com/where-to-buy/. Search for “Radius</label>
- The topic ‘[Resolved] Remove unwanted BR linebreak after tag’ is closed to new replies.