r84533 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84532‎ | r84533 | r84534 >
Date:16:08, 22 March 2011
Author:foxtrott
Status:deferred
Tags:
Comment:
unstrip both after parsing of form definition, only unstripping nowiki is not enough
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormPrinter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.php
@@ -366,7 +366,7 @@
367367 // Otherwise, parse it.
368368 // if ( ! $got_form_def_from_cache ) {
369369 $form_def = $wgParser->recursiveTagParse( $form_def );
370 - $form_def = $wgParser->mStripState->unstripNoWiki( $form_def );
 370+ $form_def = $wgParser->mStripState->unstripBoth( $form_def );
371371 $form_def = $wgParser -> doBlockLevels( $form_def, true );
372372 // } else {
373373 // $form_def = $wgParser->parse( $form_def, $this->mPageTitle, $wgParser->mOptions )->getText();