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

WordPress Trac noreply at wordpress.org
Mon Jan 15 20:56:05 UTC 2024


#60170: HTML API: Scan every token in an HTML document.
-------------------------+---------------------
 Reporter:  dmsnell      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  6.5
Component:  HTML API     |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+---------------------

Comment (by dmsnell):

 Pending any blockers, I'd like to merge this in the next few days and
 iterate after merge.

 There is a known issue handling CDATA sections within SVG elements whose
 resolution is not clear, particularly because the browsers handle things
 differently from each other and from the HTML specification. The approach
 taken at the moment is conservative and will avoid trashing a post in one
 of the rare cases that a CDATA section in an SVG element containing a `>`
 character is encountered.

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


More information about the wp-trac mailing list