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

Don't remove right #'s too early (before dealing with whitesapce)

This commit is contained in:
Aidan Woods 2019-01-22 23:24:13 +00:00
parent b8cdc6e9a5
commit 00821bd072
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9

View File

@ -56,7 +56,7 @@ final class Header implements Block
/** @var 1|2|3|4|5|6 $level */
$text = \trim($Context->line()->text(), '#');
$text = \ltrim($Context->line()->text(), '#');
$StrictMode = $State->getOrDefault(StrictMode::class);