Index: trunk/extensions/DoubleWiki/DoubleWiki_body.php |
— | — | @@ -248,6 +248,8 @@ |
249 | 249 | * The first and last slices are compensated. |
250 | 250 | */ |
251 | 251 | $stack = array(); |
| 252 | + $opening = ''; |
| 253 | + |
252 | 254 | for( $i=0 ; $i < $n ; $i++) { |
253 | 255 | $m = array(); |
254 | 256 | preg_match_all( $this->tags, $left_slices[$i], $m, PREG_SET_ORDER); |
— | — | @@ -263,7 +265,6 @@ |
264 | 266 | } |
265 | 267 | } |
266 | 268 | if( $i==0 ) { |
267 | | - $opening = ''; |
268 | 269 | $closure = ''; |
269 | 270 | for( $k=0; $k < $counter ; $k++ ) { |
270 | 271 | $opening .= "<".$stack[$k][1].">"; |