Changeset 57317
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-processor.php
r57316 r57317 103 103 * - Custom elements: All custom elements are supported. :) 104 104 * - Form elements: BUTTON, DATALIST, FIELDSET, LABEL, LEGEND, METER, PROGRESS, SEARCH. 105 * - Formatting elements: B, BIG, CODE, EM, FONT, I, SMALL, STRIKE, STRONG, TT, U, WBR.105 * - Formatting elements: B, BIG, CODE, EM, FONT, I, PRE, SMALL, STRIKE, STRONG, TT, U, WBR. 106 106 * - Heading elements: H1, H2, H3, H4, H5, H6, HGROUP. 107 107 * - Links: A. … … 113 113 * - Templating elements: SLOT. 114 114 * - Text decoration: RUBY. 115 * - Deprecated elements: ACRONYM, BLINK, CENTER, DIR, ISINDEX, KEYGEN, MULTICOL, NEXTID, SPACER.115 * - Deprecated elements: ACRONYM, BLINK, CENTER, DIR, ISINDEX, KEYGEN, LISTING, MULTICOL, NEXTID, SPACER. 116 116 * 117 117 * ### Supported markup … … 685 685 case '-HEADER': 686 686 case '-HGROUP': 687 case '-LISTING': 687 688 case '-MAIN': 688 689 case '-MENU': 689 690 case '-NAV': 690 691 case '-OL': 692 case '-PRE': 691 693 case '-SEARCH': 692 694 case '-SECTION': … … 731 733 732 734 $this->insert_html_element( $this->state->current_token ); 735 return true; 736 737 /* 738 * > A start tag whose tag name is one of: "pre", "listing" 739 */ 740 case '+PRE': 741 case '+LISTING': 742 if ( $this->state->stack_of_open_elements->has_p_in_button_scope() ) { 743 $this->close_a_p_element(); 744 } 745 $this->insert_html_element( $this->state->current_token ); 746 $this->state->frameset_ok = false; 733 747 return true; 734 748 … … 1008 1022 case 'LI': 1009 1023 case 'LINK': 1010 case 'LISTING':1011 1024 case 'MARQUEE': 1012 1025 case 'MATH': … … 1022 1035 case 'PARAM': 1023 1036 case 'PLAINTEXT': 1024 case 'PRE':1025 1037 case 'RB': 1026 1038 case 'RP': -
trunk/tests/phpunit/tests/html-api/wpHtmlProcessor.php
r57316 r57317 255 255 'INPUT' => array( 'INPUT' ), 256 256 'LINK' => array( 'LINK' ), 257 'LISTING' => array( 'LISTING' ),258 257 'MARQUEE' => array( 'MARQUEE' ), 259 258 'MATH' => array( 'MATH' ), … … 268 267 'PARAM' => array( 'PARAM' ), 269 268 'PLAINTEXT' => array( 'PLAINTEXT' ), 270 'PRE' => array( 'PRE' ),271 269 'RB' => array( 'RB' ), 272 270 'RP' => array( 'RP' ), -
trunk/tests/phpunit/tests/html-api/wpHtmlProcessorBreadcrumbs.php
r57316 r57317 177 177 'INPUT', 178 178 'LINK', 179 'LISTING', // Deprecated, use PRE instead.180 179 'MARQUEE', // Deprecated. 181 180 'MATH', … … 189 188 'OPTION', 190 189 'PLAINTEXT', // Neutralized. 191 'PRE',192 190 'RB', // Neutralized. 193 191 'RP',
Note: See TracChangeset
for help on using the changeset viewer.