Use rawHtml to provide conditional escaping on special chars

This commit is contained in:
Aidan Woods 2018-03-18 22:46:08 +00:00
parent 011465bca6
commit 0205a4cbe6
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9
1 changed files with 1 additions and 1 deletions

View File

@ -1189,7 +1189,7 @@ class Parsedown
if (isset($Excerpt['text'][1]) and in_array($Excerpt['text'][1], $this->specialCharacters))
{
return array(
'markup' => $Excerpt['text'][1],
'element' => array('rawHtml' => $Excerpt['text'][1]),
'extent' => 2,
);
}