Index: trunk/phase3/includes/Parser.php |
— | — | @@ -174,10 +174,10 @@ |
175 | 175 | $text = $this->internalParse( $text, $linestart ); |
176 | 176 | |
177 | 177 | $dashReplace = array( |
178 | | - '/ - /' => " – ", # N dash |
179 | | - '/(?<=[0-9])-(?=[0-9])/' => "–", # N dash between numbers |
180 | | - '/ -- /' => " — " # M dash |
181 | | - ); |
| 178 | + '/ - /' => " – ", # N dash |
| 179 | + '/(?<=[0-9])-(?=[0-9])/' => "–", # N dash between numbers |
| 180 | + '/ -- /' => " — " # M dash |
| 181 | + ); |
182 | 182 | $text = preg_replace( array_keys($dashReplace), array_values($dashReplace), $text ); |
183 | 183 | |
184 | 184 | |