[wp-trac] [WordPress Trac] #62396: HTML API: serialize should include doctype when present
WordPress Trac
noreply at wordpress.org
Tue Nov 12 17:53:57 UTC 2024
#62396: HTML API: serialize should include doctype when present
--------------------------+------------------------
Reporter: jonsurrell | Owner: jonsurrell
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.7.1
Component: HTML API | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+------------------------
When a full HTML document with a DOCTYPE is serialized by the HTML
Processor, the DOCTYPE token should be included.
The DOCTYPE is important HTML content and impacts how the document is
processed.
DOCTYPEs are currently omitted in output of
`WP_HTML_Processor::serialize`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62396>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list