[wp-trac] [WordPress Trac] #23135: Filter for Block Elements in wpautop()
WordPress Trac
noreply at wordpress.org
Mon Jan 7 17:02:57 UTC 2013
#23135: Filter for Block Elements in wpautop()
-----------------------------------+------------------------------
Reporter: luehrsen | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+------------------------------
Comment (by luehrsen):
As for HTML standards, HTML5 does not any longer differentiate between
inline and block, it rather has more categories possible for each element.
http://dev.w3.org/html5/html4-differences/#content-model
Aside from digging into standards, there should be a standardized way for
developers to exclude certain elements from wpautop. Disabling and
optionally replacing the function (as it is regularly done) is not a
suitable solution.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23135#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list