Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php |
— | — | @@ -365,8 +365,11 @@ |
366 | 366 | // } |
367 | 367 | // Otherwise, parse it. |
368 | 368 | // if ( ! $got_form_def_from_cache ) { |
369 | | -// if ( $embedded) { |
370 | | - $form_def = $wgParser->recursiveTagParse( $form_def ); |
| 369 | + if ( !$embedded) { |
| 370 | + $wgParser->clearState(); |
| 371 | + } |
| 372 | + |
| 373 | + $form_def = $wgParser->recursiveTagParse( $form_def ); |
371 | 374 | $form_def = $wgParser->mStripState->unstripBoth( $form_def ); |
372 | 375 | // } else { |
373 | 376 | // $form_def = $wgParser->parse( $form_def, $this->mPageTitle, $wgParser->mOptions )->getText(); |