mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-06 05:34:26 +00:00
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