mirror of
https://github.com/erusev/parsedown.git
synced 2025-09-03 03:42:38 +02:00
Fix trimming of internal #'s
This commit is contained in:
@@ -505,7 +505,8 @@ class Parsedown
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$text = trim($Line['text'], '# ');
|
$text = trim($Line['text'], '#');
|
||||||
|
$text = trim($text, ' ');
|
||||||
|
|
||||||
$Block = array(
|
$Block = array(
|
||||||
'element' => array(
|
'element' => array(
|
||||||
|
Reference in New Issue
Block a user