mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Use rawHtml to provide conditional escaping on special chars
This commit is contained in:
parent
011465bca6
commit
0205a4cbe6
@ -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,
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user