Index: /MediaWiki/trunk/extensions/FCKeditor/FCKeditorParser.body.php
===================================================================
--- /MediaWiki/trunk/extensions/FCKeditor/FCKeditorParser.body.php	(revision 549)
+++ /MediaWiki/trunk/extensions/FCKeditor/FCKeditorParser.body.php	(revision 550)
@@ -73,5 +73,5 @@
                 }
                 else if ($sum == 0) {
-                    $finalString .= '<span class="fck_mw_template">' . strtr(substr($text, $startingPos, $pos - $startingPos + 19), $strtr) . '</span>';
+                    $finalString .= '<span class="fck_mw_template">' . htmlspecialchars(strtr(substr($text, $startingPos, $pos - $startingPos + 19), $strtr)) . '</span>';
                     $startingPos = $pos + 19;
                 }
