WordPress/wp-includes/html-api
Bernhard Reiter deaa431a90 HTML API: Skip over contents of RAWTEXT elements such as STYLE.
When encountering elements that imply switching into the RAWTEXT parsing state,
the Tag Processor should skip processing until exiting the RAWTEXT state.

In this patch the Tag Processor does just that, except for the case of the
deprecated XMP element which implies further and more complicated rules.

There's an implicit assumption that the SCRIPT ENABLED flag in HTML parsing
is enabled so that the contents of NOSCRIPT can be skipped. Otherwise, it would
be required to parse the contents of that tag.

Props dmsnell.
Fixes #59292.
Built from https://develop.svn.wordpress.org/trunk@56563


git-svn-id: http://core.svn.wordpress.org/trunk@56075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-13 12:49:16 +00:00
..
class-wp-html-active-formatting-elements.php HTML API: Adjust code styling to Gutenberg's linter's preferences. 2023-08-07 13:50:27 +00:00
class-wp-html-attribute-token.php Docs: Improve HTML API file and class headers per the documentation standards. 2023-05-09 11:19:21 +00:00
class-wp-html-open-elements.php HTML API: Add support for BUTTON element. 2023-08-10 08:37:20 +00:00
class-wp-html-processor-state.php HTML API: Store current token reference in HTML Processor state. 2023-09-12 15:12:17 +00:00
class-wp-html-processor.php HTML API: Store current token reference in HTML Processor state. 2023-09-12 15:12:17 +00:00
class-wp-html-span.php Docs: Improve HTML API file and class headers per the documentation standards. 2023-05-09 11:19:21 +00:00
class-wp-html-tag-processor.php HTML API: Skip over contents of RAWTEXT elements such as STYLE. 2023-09-13 12:49:16 +00:00
class-wp-html-text-replacement.php Docs: Improve HTML API file and class headers per the documentation standards. 2023-05-09 11:19:21 +00:00
class-wp-html-token.php HTML API: Adjust code styling to Gutenberg's linter's preferences. 2023-08-07 13:50:27 +00:00
class-wp-html-unsupported-exception.php HTML-API: Introduce minimal HTML Processor. 2023-07-20 13:43:25 +00:00