Make WordPress Core


Ignore:
Timestamp:
01/24/2024 03:28:27 AM (10 months ago)
Author:
dmsnell
Message:

HTML API: Support INPUT tags.

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

  • INPUT

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

Developed in https://github.com/WordPress/wordpress-develop/pull/5907
Discussed in https://core.trac.wordpress.org/ticket/60283

Props jonsurrell
See #60283

File:
1 edited

Legend:

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

    r57326 r57343  
    254254            'HTML'      => array( 'HTML' ),
    255255            'IFRAME'    => array( 'IFRAME' ),
    256             'INPUT'     => array( 'INPUT' ),
    257256            'LINK'      => array( 'LINK' ),
    258257            'MARQUEE'   => array( 'MARQUEE' ),
Note: See TracChangeset for help on using the changeset viewer.