[wp-trac] [WordPress Trac] #29913: wptexturize should handle broken HTML consistently
WordPress Trac
noreply at wordpress.org
Fri Oct 10 12:22:50 UTC 2014
#29913: wptexturize should handle broken HTML consistently
------------------------------------------+------------------------------
Reporter: kitchin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 1.5
Severity: minor | Resolution:
Keywords: wptexturize needs-unit-tests | Focuses:
------------------------------------------+------------------------------
Changes (by miqrogroove):
* keywords: => wptexturize needs-unit-tests
Comment:
Patch could be a simple as adding a `?` to the regexp.
The main thing we need to discuss is, what are we going to break with this
patch?
Can there be any downside to not texturizing the guts of broken HTML?
Is not texturizing the correct behavior? Should we continue to texturize
and rather than ignore the unclosed `<` convert it to a `<` instead?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29913#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list