[wp-trac] [WordPress Trac] #62396: HTML API: serialize should include doctype when present
WordPress Trac
noreply at wordpress.org
Mon Nov 18 13:05:51 UTC 2024
#62396: HTML API: serialize should include doctype when present
-------------------------------------------------+-------------------------
Reporter: jonsurrell | Owner: jonsurrell
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7.1
Component: HTML API | Version: 6.7
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests dev- | Focuses:
feedback fixed-major |
-------------------------------------------------+-------------------------
Changes (by cbravobernal):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"59410" 59410]:
{{{
#!CommitTicketReference repository="" revision="59410"
HTML API: Fix normalized doctype pub/sys identifier quotes.
Changeset [59399] fixed missing DOCTYPEs in normalized HTML output. It
missed an edge case where public and system identifiers may contain double
quotes, in which case they must be quoted with single quotes.
This commit addresses that issue and adds tests.
Follow-up to [59399].
Props jonsurrell, luisherranz, apermo.
Fixes #62396.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62396#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list