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:
parent
8c14c5c239
commit
e59fbd736d
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user