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

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 23 04:25:06 UTC 2011


#8912: wptexturize malforms HTML comments that contain HTML tags
-------------------------------------------------+-------------------------
 Reporter:  Otto42                               |       Owner:  anonymous
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  3.3
Component:  Formatting                           |     Version:  2.9.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-refresh needs-unit-  |
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch needs-unit-tests => has-patch needs-refresh needs-
     unit-tests


Comment:

 Since [17636], the result for [comment:ticket:16060:2 my example from
 16060] is a bit different:
 {{{
 <!-- Sample list
 <ul>
         <li>Sample item</li>
 </ul> -->
 }}}
 Output:
 {{{
 <!-- Sample list
 <ul>
         <li>Sample item</li>
  -->
 }}}
 Comment closing tag is preserved, but `<ul>` tag is missing.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8912#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list