From: Ævar Arnfjörð Bjarmason Date: Sat, 26 Mar 2005 02:50:01 +0000 (+0000) Subject: Indentation fix, there was a bit too much of it... X-Git-Tag: 1.5.0alpha1~521 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=8cd10858730c9b3fa4c5d0931bba434e5fbb1be0;p=lhc%2Fweb%2Fwiklou.git Indentation fix, there was a bit too much of it... --- diff --git a/includes/Parser.php b/includes/Parser.php index bba5a9169b..1b1398d489 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -174,10 +174,10 @@ class Parser $text = $this->internalParse( $text, $linestart ); $dashReplace = array( - '/ - /' => " – ", # N dash - '/(?<=[0-9])-(?=[0-9])/' => "–", # N dash between numbers - '/ -- /' => " — " # M dash - ); + '/ - /' => " – ", # N dash + '/(?<=[0-9])-(?=[0-9])/' => "–", # N dash between numbers + '/ -- /' => " — " # M dash + ); $text = preg_replace( array_keys($dashReplace), array_values($dashReplace), $text );