[wp-trac] [WordPress Trac] #29913: wptexturize should handle broken HTML consistently

WordPress Trac noreply at wordpress.org
Tue Nov 4 02:32:26 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:
------------------------------------------+------------------------------

Comment (by miqrogroove):

 More info about the history of these bugs:

 Before 4.0, unclosed HTML tags were sometimes not texturized depending on
 their position relative to other tags.  Given that this bug has never come
 up before now, it seem like there would be no harm in making those tags
 always not texturized.

 The example code, {{{<div data-cycle-slides="> .slides">}}} is not allowed
 by kses as far as I know.  I would be uncomfortable allowing this in one
 place and not the other.  And to be honest, I don't think it's a good idea
 to allow it.

 Unclosed comments should be taken care of by #29557.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29913#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list