[wp-trac] [WordPress Trac] #62583: Ensure HTML Processor step adds to element_queue

WordPress Trac noreply at wordpress.org
Mon Dec 9 12:42:58 UTC 2024


#62583: Ensure HTML Processor step adds to element_queue
-------------------------+------------------------------
 Reporter:  jonsurrell   |       Owner:  gziolo
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  HTML API     |     Version:  6.6
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------
Changes (by gziolo):

 * owner:  (none) => gziolo
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59500" 59500]:
 {{{
 #!CommitTicketReference repository="" revision="59500"
 HTML API: Step past closing HTML, BODY tags

 The HTML specification does not close HTML or BODY tags (pop them off the
 stack of open elements) when their tag closers are encountered. The HTML
 processor correctly handled this behavior, however it incorrectly "paused"
 by returning true from the step functions.

 Props jonsurrell, dmsnell, gziolo.
 Fixes #62583.
 }}}

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


More information about the wp-trac mailing list