mirror of
https://github.com/erusev/parsedown.git
synced 2024-09-20 03:51:29 +02: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 .= "\n";
|
||||||
$markup .= isset($Block['markup']) ? $Block['markup'] : $this->element($Block['element']);
|
$markup .= $this->element($Block['element']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$markup .= "\n";
|
$markup .= "\n";
|
||||||
@ -1042,7 +1042,7 @@ class Parsedown
|
|||||||
$markup .= $this->unmarkedText($unmarkedText);
|
$markup .= $this->unmarkedText($unmarkedText);
|
||||||
|
|
||||||
# compile the inline
|
# compile the inline
|
||||||
$markup .= isset($Inline['markup']) ? $Inline['markup'] : $this->element($Inline['element']);
|
$markup .= $this->element($Inline['element']);
|
||||||
|
|
||||||
# remove the examined text
|
# remove the examined text
|
||||||
$text = substr($text, $Inline['position'] + $Inline['extent']);
|
$text = substr($text, $Inline['position'] + $Inline['extent']);
|
||||||
|
Loading…
Reference in New Issue
Block a user