Add 'q' tag to nestable tags list in force_balance_tags(). props solarissmoke, fixes #6870.
git-svn-id: https://develop.svn.wordpress.org/trunk@18585 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4b3374e66d
commit
a73c0ef107
@ -998,8 +998,8 @@ function force_balance_tags( $text ) {
|
||||
$stacksize = 0;
|
||||
$tagqueue = '';
|
||||
$newtext = '';
|
||||
$single_tags = array('br', 'hr', 'img', 'input'); // Known single-entity/self-closing tags
|
||||
$nestable_tags = array('blockquote', 'div', 'span'); // Tags that can be immediately nested within themselves
|
||||
$single_tags = array( 'br', 'hr', 'img', 'input' ); // Known single-entity/self-closing tags
|
||||
$nestable_tags = array( 'blockquote', 'div', 'span', 'q' ); // Tags that can be immediately nested within themselves
|
||||
|
||||
// WP bug fix for comments - in case you REALLY meant to type '< !--'
|
||||
$text = str_replace('< !--', '< !--', $text);
|
||||
|
Loading…
Reference in New Issue
Block a user