#58009 closed enhancement (fixed)
HTML API: Expose self-closing flag in Tag Processor
Reported by: | dmsnell | Owned by: | Bernhard Reiter |
---|---|---|---|
Milestone: | 6.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | HTML API | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
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.
22 months ago
#1
- Keywords has-patch has-unit-tests added
@zieladam commented on PR #4266:
22 months ago
#3
LGTM! I left two minor notes but nothing big.
#4
@
22 months ago
- Owner set to Bernhard Reiter
- Resolution set to fixed
- Status changed from new to closed
In 55619:
@Bernhard Reiter commented on PR #4266:
22 months ago
#5
Committed to Core trunk
in r55619.
Note: See
TracTickets for help on using
tickets.
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