Skip to content

Commit

Permalink
Closed bug #2209
Browse files Browse the repository at this point in the history
Don't replace & if it's part of encoded character.
  • Loading branch information
paca70 committed Nov 23, 2004
1 parent 693f6eb commit e80c7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/wiki/ewiki/ewiki.php
Expand Up @@ -860,7 +860,7 @@ function ewiki_script($asid="", $id=false, $params="", $bin=0, $html=1, $script=

#-- fin
if ($html) {
$url = str_replace("&", "&", $url);
$url = preg_replace("/&(?![A-Za-z]{0,4}\w{2,3};|#[0-9]{2,5};)/","¨", $url);
}
return($url);
}
Expand Down

0 comments on commit e80c7d5

Please sign in to comment.