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

WordPress Trac noreply at wordpress.org
Sat Mar 8 17:32:11 UTC 2014


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

Comment (by miqrogroove):

 Replying to [comment:34 nacin]:
 > It simply does a lookahead for `>` before replacing `--`

 Does WP allow any space between those?  I believe it's permitted in HTML.

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


More information about the wp-trac mailing list