Make WordPress Core


Ignore:
Timestamp:
01/19/2024 07:01:29 PM (3 months ago)
Author:
dmsnell
Message:

HTML API: Add support for HR element.

Adds support for the following HTML elements to the HTML Processor:

  • HR

Previously, this element was not supported and the HTML Processor would bail when encountering
it. Now, with this patch, it will proceed to parse an HTML document when encountering one.

Developed in WordPress/wordpress-develop#5897

Props jonsurrell, dmsnell
Fixes #60283

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/html-api/wpHtmlProcessor.php

    r57264 r57314  
    174174            'FRAMESET'  => array( 'FRAMESET' ),
    175175            'HEAD'      => array( 'HEAD' ),
    176             'HR'        => array( 'HR' ),
    177176            'HTML'      => array( 'HTML' ),
    178177            'IFRAME'    => array( 'IFRAME' ),
Note: See TracChangeset for help on using the changeset viewer.