From: Magnus Manske Date: Fri, 6 Aug 2004 17:52:43 +0000 (+0000) Subject: Adding option $fixLbug to fix bug 948549 X-Git-Tag: 1.5.0alpha1~2502 X-Git-Url: http://git.cyclocoop.org/geomaker.php?a=commitdiff_plain;h=406abe0b0a02e103082fc357b9b1efda9e9aaa98;p=lhc%2Fweb%2Fwiklou.git Adding option $fixLbug to fix bug 948549 --- diff --git a/includes/Parser.php b/includes/Parser.php index 86d963289e..37d0a93cb1 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -822,6 +822,9 @@ class Parser $fname = 'Parser::internalParse'; wfProfileIn( $fname ); + global $fixLbug ; + if ( $fixLbug ) $text = preg_replace ( '/(l|L)\'/' , '\\1'' , $text ) ; + $text = $this->removeHTMLtags( $text ); $text = $this->replaceVariables( $text, $args );