1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

escape sequences with double digit codes do not get decoded properly

This commit is contained in:
Emanuil Rusev 2013-11-16 02:04:39 +02:00
parent 30e436ec7d
commit e497acb6dc

View File

@ -66,7 +66,7 @@ class Parsedown
{
if (strpos($text, $escape_sequence) !== FALSE)
{
$code = "\x1A".'\\'.$index;
$code = "\x1A".'\\'.$index.';';
$text = str_replace($escape_sequence, $code, $text);