Merge pull request #171 from scarwu/master
identifyEscapeSequence() needs Array check
This commit is contained in:
commit
d85a233611
|
@ -1041,7 +1041,7 @@ class Parsedown
|
||||||
|
|
||||||
protected function identifyEscapeSequence($excerpt)
|
protected function identifyEscapeSequence($excerpt)
|
||||||
{
|
{
|
||||||
if (in_array($excerpt[1], $this->specialCharacters))
|
if (isset($excerpt[1]) && in_array($excerpt[1], $this->specialCharacters))
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'markup' => $excerpt[1],
|
'markup' => $excerpt[1],
|
||||||
|
|
Loading…
Reference in New Issue