mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
parse_block_elements doesn't have to use ltrim on lines with no indentation
This commit is contained in:
parent
b6c8cac512
commit
379cbf34b3
@ -277,7 +277,7 @@ class Parsedown
|
|||||||
|
|
||||||
# ~
|
# ~
|
||||||
|
|
||||||
$pure_line = ltrim($line);
|
$pure_line = $line[0] !== ' ' ? $line : ltrim($line);
|
||||||
|
|
||||||
# Link Reference
|
# Link Reference
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user