[wp-trac] [WordPress Trac] #60170: HTML API: Scan every token in an HTML document.

WordPress Trac noreply at wordpress.org
Fri Apr 19 19:54:51 UTC 2024


#60170: HTML API: Scan every token in an HTML document.
---------------------------------------------------+-----------------------
 Reporter:  dmsnell                                |       Owner:  dmsnell
     Type:  enhancement                            |      Status:  reopened
 Priority:  normal                                 |   Milestone:  6.5
Component:  HTML API                               |     Version:  6.5
 Severity:  normal                                 |  Resolution:
 Keywords:  has-patch has-unit-tests has-dev-note  |     Focuses:
---------------------------------------------------+-----------------------
Changes (by dmsnell):

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


Comment:

 Found an issue with short "funky comments" whereby a closing tag with an
 invalid tag name of a single character length would skip past the actual
 closing `>` and consume another tag.

 For instance, `</!><p>` turns into a single funky comment with modifiable
 text `!><p`

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


More information about the wp-trac mailing list