1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Remove 'markup' key exception for outputting via AST

This commit is contained in:
Aidan Woods 2018-03-18 22:48:52 +00:00
parent 8c14c5c239
commit e59fbd736d
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9

View File

@ -294,7 +294,7 @@ class Parsedown
}
$markup .= "\n";
$markup .= isset($Block['markup']) ? $Block['markup'] : $this->element($Block['element']);
$markup .= $this->element($Block['element']);
}
$markup .= "\n";
@ -1042,7 +1042,7 @@ class Parsedown
$markup .= $this->unmarkedText($unmarkedText);
# compile the inline
$markup .= isset($Inline['markup']) ? $Inline['markup'] : $this->element($Inline['element']);
$markup .= $this->element($Inline['element']);
# remove the examined text
$text = substr($text, $Inline['position'] + $Inline['extent']);