Index: trunk/extensions/wikiwyg/share/MediaWiki/extensions/MediaWikiWyg.php |
— | — | @@ -227,7 +227,7 @@ |
228 | 228 | |
229 | 229 | function beforeTidyHook($parser, $text) { |
230 | 230 | global $wgServer, $wgScriptPath, $wgUser; |
231 | | - if ($wgUser->getOption ('in-page', 1) == 0 ) return; |
| 231 | + if ($wgUser->getOption ('in-page', 1) == 0 ) return true; |
232 | 232 | $wgScriptPath != "" ? $fixedPath = $wgServer."/".$wgScriptPath : $fixedPath = $wgServer; |
233 | 233 | /* stuff changed in MW 1.9.3, the order of elements is different now */ |
234 | 234 | /* one more interesting thing - determine the maximum depth of the headers |
— | — | @@ -421,4 +421,4 @@ |
422 | 422 | return true; |
423 | 423 | } |
424 | 424 | |
425 | | -} # End if(defined MEDIAWIKI) |
\ No newline at end of file |
| 425 | +} # End if(defined MEDIAWIKI) |