[wp-trac] [WordPress Trac] #60283: HTML API: Support all HTML tags in standard
WordPress Trac
noreply at wordpress.org
Fri Jan 19 21:40:17 UTC 2024
#60283: HTML API: Support all HTML tags in standard
--------------------------------------+----------------------
Reporter: jonsurrell | Owner: dmsnell
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.5
Component: HTML API | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+----------------------
Changes (by dmsnell):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"57316" 57316]:
{{{
#!CommitTicketReference repository="" revision="57316"
HTML API: Add support for BR, EMBED, & other tags.
Adds support for the following HTML elements to the HTML Processor:
- AREA, BR, EMBED, KEYGEN, WBR
- Only the opening BR tag is supported, as the invalid closer `</br>`
involves more complicated rules, to be implemented later.
Previously, these elements were not supported and the HTML Processor
would bail when encountering them. With this patch it will proceed to
parse an HTML document when encountering those tags as long as other
normal conditions don't cause it to bail (such as complicated format
reconstruction rules).
Props jonsurrell, dmsnell
Fixes #60283
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60283#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list