From: Gabriel Wicke Date: Wed, 12 May 2004 13:05:00 +0000 (+0000) Subject: don't unescape preview text (made things like \<pre\> a plain \ in previe... X-Git-Tag: 1.3.0beta1~87 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=9c1bb5a9ad1441029b70ea0f7b33da0bcfde511b;p=lhc%2Fweb%2Fwiklou.git don't unescape preview text (made things like \<pre\> a plain \ in preview mode). Not sure if this has any side effects (and why it was unescaped in the first place). --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 2c04c1fdbd..a3d8539a72 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -335,7 +335,7 @@ class EditPage { $previewhead.="

" . wfMsg( "previewconflict" ) . "

\n"; } - $previewtext = wfUnescapeHTML( $this->textbox1 ); + $previewtext = $this->textbox1; $parserOptions = ParserOptions::newFromUser( $wgUser ); $parserOptions->setUseCategoryMagic( false );