[wp-trac] [WordPress Trac] #47014: Tag balancing corrupts Custom Elements

WordPress Trac noreply at wordpress.org
Mon Sep 2 10:24:28 UTC 2019


#47014: Tag balancing corrupts Custom Elements
--------------------------------------+-----------------------
 Reporter:  westonruter               |       Owner:  flixos90
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.3
Component:  Formatting                |     Version:  2.0.4
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------
Changes (by flixos90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45929" 45929]:
 {{{
 #!CommitTicketReference repository="" revision="45929"
 Formatting: Improve accuracy of `force_balance_tags()` and add support for
 custom element tags.

 This changeset includes a major iteration on the regular expression used
 to balance tags, with comprehensive test coverage to ensure that all
 scenarios are supported or unsupported as expected.

 Props dmsnell, westonruter, birgire.
 Fixes #47014.
 }}}

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


More information about the wp-trac mailing list