wordpress-develop/src/wp-includes/html-api
Bernie Reiter ba4709cdc2 HTML API: Add has_self_closing_flag() to Tag Processor.
In this patch we're adding `has_self_closing_flag()` to the HTML Tag Processor.
This exposes whether a currently-matched tag contains the self-closing flag `/`.

This information is critical for the evolution of the HTML API in order
to track and parse HTML structure, specifically, knowing whether an
HTML foreign element is self-closing or not.

Props dmsnell, zieladam.
Fixes #58009.

git-svn-id: https://develop.svn.wordpress.org/trunk@55619 602fd350-edb4-49c9-b593-d223f7449a82
2023-04-04 10:04:45 +00:00
..
class-wp-html-attribute-token.php Introduce HTML API with HTML Tag Processor 2023-02-03 01:03:59 +00:00
class-wp-html-span.php Introduce HTML API with HTML Tag Processor 2023-02-03 01:03:59 +00:00
class-wp-html-tag-processor.php HTML API: Add has_self_closing_flag() to Tag Processor. 2023-04-04 10:04:45 +00:00
class-wp-html-text-replacement.php Introduce HTML API with HTML Tag Processor 2023-02-03 01:03:59 +00:00