mirror of
https://github.com/erusev/parsedown.git
synced 2025-09-02 19:32:35 +02:00
parse_block_elements doesn't have to use ltrim on lines with no indentation
This commit is contained in:
@@ -277,7 +277,7 @@ class Parsedown
|
||||
|
||||
# ~
|
||||
|
||||
$pure_line = ltrim($line);
|
||||
$pure_line = $line[0] !== ' ' ? $line : ltrim($line);
|
||||
|
||||
# Link Reference
|
||||
|
||||
|
Reference in New Issue
Block a user