#58009 closed enhancement (fixed)
HTML API: Expose self-closing flag in Tag Processor
| Reported by: | dmsnell | Owned by: | Bernhard Reiter |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.3 |
| Component: | HTML API | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
Description
Introduce has_self_closing_flag() to the HTML Tag Processor, exposing whether a currently-matched tag contains the self-closing flag /, used when determining if one needs to look for a closing tag of the same name.
This enables structural parsing of an HTML document and is needed to identify self-closing HTML foreign elements.
Change History (8)
This ticket was mentioned in PR #4266 on WordPress/wordpress-develop by @dmsnell.
3 years ago
#1
- Keywords has-patch has-unit-tests added
@zieladam commented on PR #4266:
3 years ago
#3
LGTM! I left two minor notes but nothing big.
@Bernhard Reiter commented on PR #4266:
3 years ago
#5
Committed to Core trunk in r55619.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Introduce has_self_closing_flag() to the HTML Tag Processor, exposing whether a currently-matched tag contains the self-closing flag /, used when determining if one needs to look for a closing tag of the same name.
This enables structural parsing of an HTML document and is needed to identify self-closing HTML foreign elements.
Trac ticket #58009
cc: @adamziel @gziolo @ockham