Make WordPress Core

Ticket #1170: bug1170_functions-formatting.php

File bug1170_functions-formatting.php, 684 bytes (added by anonymousbugger, 21 years ago)
Line 
1Index: wp-includes/functions-formatting.php
2===================================================================
3--- wp-includes/functions-formatting.php (revision 2496)
4+++ wp-includes/functions-formatting.php (working copy)
5@@ -446,7 +446,7 @@
6 $regex[2] .= '/';
7 } else { // Push the tag onto the stack
8 // If the top of the stack is the same as the tag we want to push, close previous tag
9- if (($stacksize > 0) && ($tag != 'div') && ($tagstack[$stacksize - 1] == $tag)) {
10+ if (($stacksize > 0) && ($tag != 'div') && ($tag != 'blockquote') && ($tagstack[$stacksize - 1] == $tag)) {
11 $tagqueue = '</' . array_pop ($tagstack) . '>';
12 $stacksize--;
13 }