Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -933,9 +933,9 @@ |
934 | 934 | $flag = 0; |
935 | 935 | } else { |
936 | 936 | $flag = Parser::PTD_FOR_INCLUSION; |
| 937 | + } |
937 | 938 | $dom = $this->preprocessToDom( $text, $flag ); |
938 | 939 | $text = $frame->expand( $dom ); |
939 | | - } |
940 | 940 | } else { |
941 | 941 | # if $frame is not provided, then use old-style replaceVariables |
942 | 942 | $text = $this->replaceVariables( $text ); |