[wp-trac] [WordPress Trac] #61257: HTML API: Indicate if a matched element expects a closing tag/token.

WordPress Trac noreply at wordpress.org
Tue May 21 01:17:39 UTC 2024


#61257: HTML API: Indicate if a matched element expects a closing tag/token.
-----------------------------+--------------------
 Reporter:  dmsnell          |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  6.6
Component:  HTML API         |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+--------------------
 Some tags open an element that could contain other tags. Some tags and
 tokens appear only transiently on the stack and are immediately popped
 off.

 Previously this has all been occurring through a custom logical check
 inside the HTML Processor's `step()` function, but it would be helpful to
 have a way to check on this generally and reuse the logic.

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


More information about the wp-trac mailing list