diff --git a/Michelf/Markdown.php b/Michelf/Markdown.php index a1a0abc..3af20b5 100644 --- a/Michelf/Markdown.php +++ b/Michelf/Markdown.php @@ -1269,7 +1269,7 @@ class Markdown implements MarkdownInterface { # Ampersand-encoding based entirely on Nat Irons's Amputator # MT plugin: $text = preg_replace('/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/', - '&', $text);; + '&', $text); } # Encode remaining <'s $text = str_replace('<', '<', $text);