[wp-trac] [WordPress Trac] #63738: HTML API: Internal updates in 6.9

WordPress Trac noreply at wordpress.org
Tue Aug 19 19:07:26 UTC 2025


#63738: HTML API: Internal updates in 6.9
--------------------------------------+---------------------
 Reporter:  dmsnell                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.9
Component:  HTML API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by jonsurrell):

 In [changeset:"60649" 60649]:
 {{{
 #!CommitTicketReference repository="" revision="60649"
 HTML API: Improve script tag escape state processing.

 Addresses some edge cases parsing of script tag contents:

 - "<!-->" remains in the unescaped state and does not enter the escaped
 state.
 - Contents in the escaped state that end with "<script" do not enter
 double-escaped state.
 - "\f" (Form Feed) was missing as a tag name terminating character.

 Developed in https://github.com/WordPress/wordpress-develop/pull/9397 and
 https://github.com/WordPress/wordpress-develop/pull/9402.

 Props jonsurrell, dmsnell.
 See #63738.
 }}}

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


More information about the wp-trac mailing list