[wp-trac] [WordPress Trac] #8912: wptexturize malforms HTML comments that contain HTML tags

WordPress Trac noreply at wordpress.org
Tue Jun 10 14:33:19 UTC 2014


#8912: wptexturize malforms HTML comments that contain HTML tags
-----------------------------------+-----------------------------
 Reporter:  Otto42                 |       Owner:  wonderboymusic
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  Future Release
Component:  Formatting             |     Version:  2.7
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch wptexturize  |     Focuses:
-----------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"28727"]:
 {{{
 #!CommitTicketReference repository="" revision="28727"
 In `wptexturize()`, ensure that texturization does not corrupt contents of
 HTML elements, HTML comments, and smartcode attributes.

 Adds a variety of unit tests/assertions.

 Props miqrogroove.
 Fixes #12690, #8912, #27602.
 }}}

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


More information about the wp-trac mailing list