[wp-trac] [WordPress Trac] #63694: HTML Processing Improvements in 6.9

WordPress Trac noreply at wordpress.org
Fri Oct 17 23:52:58 UTC 2025


#63694: HTML Processing Improvements in 6.9
--------------------------------------+-----------------------
 Reporter:  dmsnell                   |       Owner:  nerrad
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  6.9
Component:  HTML API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------

Comment (by dmsnell):

 In [changeset:"60968" 60968]:
 {{{
 #!CommitTicketReference repository="" revision="60968"
 HTML API: Backport from Gutenberg of layout image container refactor.

 For classic themes, image blocks need to create a DIV wrapper which
 contains alignment classes from the inner FIGURE. This has been processed
 using PCRE matching.

 With this change the HTML API is used instead of PCRE functions to provide
 more semantic transformation, clearer intent, and to eliminate possible
 parsing issues.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10218
 Discussed in https://core.trac.wordpress.org/ticket/63694

 Gutenberg patch in https://github.com/WordPress/gutenberg/pull/72264

 Props dmsnell, isabel_brison.
 See #63694.
 }}}

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


More information about the wp-trac mailing list