1
0
mirror of https://github.com/erusev/parsedown.git synced 2025-09-03 20:02:33 +02:00

Merge pull request #36 from josephok/patch-1

This commit is contained in:
Emanuil Rusev
2013-11-22 11:21:38 -08:00

View File

@@ -634,7 +634,7 @@ class Parsedown
foreach ($matches as $matches)
{
$element_text = $matches[1];
$element_text = htmlentities($element_text, ENT_NOQUOTES);
$element_text = htmlspecialchars($element_text, ENT_NOQUOTES);
# decodes escape sequences
@@ -793,4 +793,4 @@ class Parsedown
return $text;
}
}
}