[wp-trac] [WordPress Trac] #62521: HTML Processor virtual token seek does not seek to correct location
WordPress Trac
noreply at wordpress.org
Tue Dec 10 09:11:51 UTC 2024
#62521: HTML Processor virtual token seek does not seek to correct location
--------------------------------------+---------------------
Reporter: jonsurrell | Owner: gziolo
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.8
Component: HTML API | Version: 6.7
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Changes (by gziolo):
* owner: (none) => gziolo
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"59502" 59502]:
{{{
#!CommitTicketReference repository="" revision="59502"
HTML API: Prevent bookmarks from being set on virtual tokens
Fixes the issue when an HTML_Processor bookmark was set at a virtual token
(a node in the resulting document that does not correspond to an HTML
token present in the input string), seek behavior was unreliable.
Props jonsurrell, gziolo.
Fixes #62521.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62521#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list