[wp-trac] [WordPress Trac] #61576: HTML API: Improved spec support in 6.7
WordPress Trac
noreply at wordpress.org
Mon Sep 2 21:52:49 UTC 2024
#61576: HTML API: Improved spec support in 6.7
--------------------------------------+---------------------
Reporter: dmsnell | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.7
Component: HTML API | Version: 6.6
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by dmsnell):
In [changeset:"58966" 58966]:
{{{
#!CommitTicketReference repository="" revision="58966"
HTML API: Fix logic bug in HTML Processor when opening A element.
A mistake in the original code handling opening A elements in the HTML
Processor led to mistakes in parsing where the Processor would bail in
situations when it could have proceeded. While this was errant behavior,
it didn't violate the public contract since it would bail in these
situations.
This patch fixes the mistake, which was to only break out of the innermost
loop instead of breaking from the containing loop, which resolves the
issue.
Developed in https://github.com/WordPress/wordpress-develop/pull/7281
Discussed in https://core.trac.wordpress.org/ticket/61576
Follow-up to [56274].
Props jonsurrell.
See #61576.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61576#comment:128>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list