mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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 git-svn-id: https://develop.svn.wordpress.org/trunk@57343 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -253,7 +253,6 @@ class Tests_HtmlApi_WpHtmlProcessor extends WP_UnitTestCase {
|
||||
'HEAD' => array( 'HEAD' ),
|
||||
'HTML' => array( 'HTML' ),
|
||||
'IFRAME' => array( 'IFRAME' ),
|
||||
'INPUT' => array( 'INPUT' ),
|
||||
'LINK' => array( 'LINK' ),
|
||||
'MARQUEE' => array( 'MARQUEE' ),
|
||||
'MATH' => array( 'MATH' ),
|
||||
|
||||
@@ -180,7 +180,6 @@ class Tests_HtmlApi_WpHtmlProcessorBreadcrumbs extends WP_UnitTestCase {
|
||||
'HEAD',
|
||||
'HTML',
|
||||
'IFRAME',
|
||||
'INPUT',
|
||||
'LINK',
|
||||
'MARQUEE', // Deprecated.
|
||||
'MATH',
|
||||
|
||||
Reference in New Issue
Block a user