[wp-trac] [WordPress Trac] #22230: WP adds <br /> before <select even where there is no line break in source code
WordPress Trac
noreply at wordpress.org
Wed Mar 26 23:39:01 UTC 2014
#22230: WP adds <br /> before <select even where there is no line break in source
code
--------------------------------------+--------------------
Reporter: chirael | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Formatting | Version: 3.4.2
Severity: normal | Resolution:
Keywords: wpautop has-patch commit | Focuses:
--------------------------------------+--------------------
Comment (by cinemafunk):
I had the same issues with the select and label. I added a <div
class="nobr"> that surrounded it, targeted that with div.nobr br
{display:none;} in the css and everything looks gorgeous. Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22230#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list