mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
When the HTML Processor seeks to an earlier place, it returns the the beginning of the document and proceeds forward until it reaches the appropriate location. This requires resetting internal state so that the processor can correctly proceed from the beginning of the document. The seeking reset logic was not adapted to account for the full processor (i.e. when created via WP_HTML_Processor::create_full_parser()). This change updates the seek logic to account for the full and fragment parsers as well as other state that has been introduced in the interim and should be reset. Reviewed by westonruter, jorbin. Merges [59391] to the 6.7 branch. Props jonsurrell, dmsnell, westonruter, mi5t4n, bernhard-reiter. Fixes #62290. Built from https://develop.svn.wordpress.org/branches/6.7@59721 git-svn-id: http://core.svn.wordpress.org/branches/6.7@59063 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
|---|---|---|
| .. | ||
| class-wp-html-active-formatting-elements.php | ||
| class-wp-html-attribute-token.php | ||
| class-wp-html-decoder.php | ||
| class-wp-html-doctype-info.php | ||
| class-wp-html-open-elements.php | ||
| class-wp-html-processor-state.php | ||
| class-wp-html-processor.php | ||
| class-wp-html-span.php | ||
| class-wp-html-stack-event.php | ||
| class-wp-html-tag-processor.php | ||
| class-wp-html-text-replacement.php | ||
| class-wp-html-token.php | ||
| class-wp-html-unsupported-exception.php | ||
| html5-named-character-references.php | ||