[wp-trac] [WordPress Trac] #11947: wpautop inserts line break elements in select element breaking XHTML 1.1 Strict compatibility
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 19 11:50:06 UTC 2010
#11947: wpautop inserts line break elements in select element breaking XHTML 1.1
Strict compatibility
--------------------------+-------------------------------------------------
Reporter: akerem | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Unassigned
Component: Formatting | Version: 2.9.1
Severity: normal | Keywords: wpautop, line break, form, select, option
--------------------------+-------------------------------------------------
The wpautop function of Wordpress inserts line break elements (<br />)
after option elements in a select element of a form, breaking XHTML 1.1
Strict compatibility.
The problem can be solved simply by adding option to $allblocks variable
in formatting.php
A diff file is attached.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11947>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list