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