WordPress.org

Make WordPress Core

Changeset 18585


Ignore:
Timestamp:
08/23/2011 03:37:38 PM (8 years ago)
Author:
nacin
Message:

Add 'q' tag to nestable tags list in force_balance_tags(). props solarissmoke, fixes #6870.

File:
1 edited

Legend:

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

    r18485 r18585  
    999999    $tagqueue = '';
    10001000    $newtext = '';
    1001     $single_tags = array('br', 'hr', 'img', 'input'); // Known single-entity/self-closing tags
    1002     $nestable_tags = array('blockquote', 'div', 'span'); // Tags that can be immediately nested within themselves
     1001    $single_tags = array( 'br', 'hr', 'img', 'input' ); // Known single-entity/self-closing tags
     1002    $nestable_tags = array( 'blockquote', 'div', 'span', 'q' ); // Tags that can be immediately nested within themselves
    10031003
    10041004    // WP bug fix for comments - in case you REALLY meant to type '< !--'
Note: See TracChangeset for help on using the changeset viewer.