[wp-trac] [WordPress Trac] #61831: HTML API: Unclosed "funky comment" may not pause at incomplete token

WordPress Trac noreply at wordpress.org
Tue Aug 6 10:15:42 UTC 2024


#61831: HTML API: Unclosed "funky comment" may not pause at incomplete token
--------------------------+-----------------------------
 Reporter:  jonsurrell    |      Owner:  jonsurrell
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTML API      |    Version:  6.5
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The HTML Tag Processor may report `::paused_at_incomplete_token() ===
 true` correctly when the HTML ends in an open "funky comment."

 The HTML `</#` should be handled the same as `</# `, in both cases a funky
 comment has been opened but no closer is found before the HTML document
 ends. Both cases should both be treated as incomplete input, however the
 former case (with no trailing space) does not report an incomplete token.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61831>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list