Add 'q' tag to nestable tags list in force_balance_tags(). props solarissmoke, fixes #6870.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3ee964c10c
commit
d5cf830175
|
@ -999,7 +999,7 @@ function force_balance_tags( $text ) {
|
|||
$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
|
||||
$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