WordPress/wp-includes/html-api
Bernhard Reiter 8fa9aad5e6 HTML API: Add support for SPAN element.
In this patch we're introducing support for the SPAN element, which is the first
in the class of "any other tag" in the "in body" insertion mode.

This patch introduces the mechanisms required to handle that class of tags but
only introduces SPAN to keep the change focused. With the tests and mechanisms
in place it will be possible to follow-up and add another limited set of tags.

It's important that this not use the default catch-all in the switch handling
`step_in_body` because that would catch tags that have specific rules in previous
case statements that aren't yet added. For example, we don't want to treat the
`TABLE` element as "any other tag".

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


git-svn-id: http://core.svn.wordpress.org/trunk@55843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-01 07:56:23 +00:00
..
class-wp-html-active-formatting-elements.php HTML-API: Introduce minimal HTML Processor. 2023-07-20 13:43:25 +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: Introduce minimal HTML Processor. 2023-07-20 13:43:25 +00:00
class-wp-html-processor-state.php HTML-API: Introduce minimal HTML Processor. 2023-07-20 13:43:25 +00:00
class-wp-html-processor.php HTML API: Add support for SPAN element. 2023-08-01 07:56:23 +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 Coding Standards: Always declare visibility for class methods. 2023-07-25 13:16:21 +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: Introduce minimal HTML Processor. 2023-07-20 13:43:25 +00:00
class-wp-html-unsupported-exception.php HTML-API: Introduce minimal HTML Processor. 2023-07-20 13:43:25 +00:00