parent
b3e016bd2a
commit
353704d882
1 changed files with 1 additions and 1 deletions
|
|
@ -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+);)/',
|
||||
'&', $text);;
|
||||
'&', $text);
|
||||
}
|
||||
# Encode remaining <'s
|
||||
$text = str_replace('<', '<', $text);
|
||||
|
|
|
|||
Loading…
Reference in a new issue