Index: /MediaWiki/trunk/FCKeditorSajax.body.php
===================================================================
--- /MediaWiki/trunk/FCKeditorSajax.body.php	(revision 3240)
+++ /MediaWiki/trunk/FCKeditorSajax.body.php	(revision 3241)
@@ -45,4 +45,5 @@
 		$ret.="html\n";
 	}
+	$wgParser->firstCallInit();
 	foreach ($wgParser->getTags() as $h) {
 		if (!in_array($h, array("pre", "math", "ref", "references"))) {
@@ -244,4 +245,5 @@
 	return str_replace("<!-- Tidy found serious XHTML errors -->", "", $parser->parse($wiki, $wgTitle, $options)->getText());
 }
+
 function wfSajaxToggleFCKeditor($data) {
 	global $wgFCKEditorSaveUserSetting;
@@ -255,4 +257,2 @@
 	return "SUCCESS";
 }
-
-
Index: /MediaWiki/trunk/mw12/FCKeditorParserWrapper.body.php
===================================================================
--- /MediaWiki/trunk/mw12/FCKeditorParserWrapper.body.php	(revision 3240)
+++ /MediaWiki/trunk/mw12/FCKeditorParserWrapper.body.php	(revision 3241)
@@ -11,4 +11,5 @@
 		parent::__construct();
 
+		$wgParser->firstCallInit();
 		foreach ($wgParser->getTags() as $h) {
 			if (!in_array($h, array("pre"))) {
