fix bug 963205 : text starting with space & ! or ? or : will be <pre>ed instead of space replaced by
This commit is contained in:
parent
f9492166aa
commit
9dc65ef54e
1 changed files with 2 additions and 1 deletions
|
|
@ -106,7 +106,8 @@ class Parser
|
|||
if(!$wgUseTidy) {
|
||||
$fixtags = array(
|
||||
# french spaces, last one Guillemet-left
|
||||
"/ (\\?|:|!|\\302\\273)/i"=>" \\1",
|
||||
# only if there is something before the space
|
||||
"/(.) (\\?|:|!|\\302\\273)/i"=>"\\1 \\2",
|
||||
# french spaces, Guillemet-right
|
||||
"/(\\302\\253) /i"=>"\\1 ",
|
||||
"/<hr *>/i" => '<hr/>',
|
||||
|
|
|
|||
Loading…
Reference in a new issue