mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Implement EscapeSequence
This commit is contained in:
@ -411,16 +411,6 @@ class Parsedown
|
||||
return $Elements;
|
||||
}
|
||||
|
||||
protected function inlineEscapeSequence($Excerpt)
|
||||
{
|
||||
if (isset($Excerpt['text'][1]) and \in_array($Excerpt['text'][1], $this->specialCharacters, true)) {
|
||||
return [
|
||||
'element' => ['rawHtml' => $Excerpt['text'][1]],
|
||||
'extent' => 2,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
protected function inlineImage($Excerpt)
|
||||
{
|
||||
if (! isset($Excerpt['text'][1]) or $Excerpt['text'][1] !== '[') {
|
||||
|
Reference in New Issue
Block a user