Make WordPress Core

Changeset 21250


Ignore:
Timestamp:
07/09/2012 07:27:44 PM (12 years ago)
Author:
nacin
Message:

HTML object tags are self-nestable. props coffee2code. fixes #20401.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/formatting.php

    r21242 r21250  
    11571157    $newtext = '';
    11581158    $single_tags = array( 'br', 'hr', 'img', 'input' ); // Known single-entity/self-closing tags
    1159     $nestable_tags = array( 'blockquote', 'div', 'span', 'q' ); // Tags that can be immediately nested within themselves
     1159    $nestable_tags = array( 'blockquote', 'div', 'object', 'q', 'span' ); // Tags that can be immediately nested within themselves
    11601160
    11611161    // WP bug fix for comments - in case you REALLY meant to type '< !--'
Note: See TracChangeset for help on using the changeset viewer.