Index: trunk/phase3/includes/parser/Preprocessor_DOM.php |
— | — | @@ -419,7 +419,8 @@ |
420 | 420 | 'count' => $count ); |
421 | 421 | $stack->push( $piece ); |
422 | 422 | $accum =& $stack->getAccum(); |
423 | | - extract( $stack->getFlags() ); |
| 423 | + $flags = $stack->getFlags(); |
| 424 | + extract( $flags ); |
424 | 425 | $i += $count; |
425 | 426 | } |
426 | 427 | } |
— | — | @@ -470,7 +471,8 @@ |
471 | 472 | // Unwind the stack |
472 | 473 | $stack->pop(); |
473 | 474 | $accum =& $stack->getAccum(); |
474 | | - extract( $stack->getFlags() ); |
| 475 | + $flags = $stack->getFlags(); |
| 476 | + extract( $flags ); |
475 | 477 | |
476 | 478 | // Append the result to the enclosing accumulator |
477 | 479 | $accum .= $element; |
— | — | @@ -497,7 +499,8 @@ |
498 | 500 | |
499 | 501 | $stack->push( $piece ); |
500 | 502 | $accum =& $stack->getAccum(); |
501 | | - extract( $stack->getFlags() ); |
| 503 | + $flags = $stack->getFlags(); |
| 504 | + extract( $flags ); |
502 | 505 | } else { |
503 | 506 | # Add literal brace(s) |
504 | 507 | $accum .= htmlspecialchars( str_repeat( $curChar, $count ) ); |
— | — | @@ -597,9 +600,9 @@ |
598 | 601 | } |
599 | 602 | $enclosingAccum .= str_repeat( $piece->open, $skippedBraces ); |
600 | 603 | } |
| 604 | + $flags = $stack->getFlags(); |
| 605 | + extract( $flags ); |
601 | 606 | |
602 | | - extract( $stack->getFlags() ); |
603 | | - |
604 | 607 | # Add XML element to the enclosing accumulator |
605 | 608 | $accum .= $element; |
606 | 609 | } |