Removed repeated semicolon.

Fixes #124.
This commit is contained in:
Michel Fortin 2013-11-28 21:22:44 -05:00
parent b3e016bd2a
commit 353704d882

View file

@ -1269,7 +1269,7 @@ class Markdown implements MarkdownInterface {
# Ampersand-encoding based entirely on Nat Irons's Amputator
# MT plugin: <http://bumppo.net/projects/amputator/>
$text = preg_replace('/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/',
'&amp;', $text);;
'&amp;', $text);
}
# Encode remaining <'s
$text = str_replace('<', '&lt;', $text);