[wp-trac] [WordPress Trac] #62396: HTML API: serialize should include doctype when present

WordPress Trac noreply at wordpress.org
Mon Nov 18 13:38:09 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 fixed-      |     Focuses:
  major dev-reviewed                             |
-------------------------------------------------+-------------------------
Changes (by cbravobernal):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59411" 59411]:
 {{{
 #!CommitTicketReference repository="" revision="59411"
 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].

 Reviewed by cbravobernal.
 Merges [59410] to the 6.7 branch.

 Props jonsurrell, luisherranz, apermo.
 Fixes #62396.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62396#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list