mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Fixed performance check for quick blocks and lines
This commit is contained in:
parent
99bf0d4bba
commit
41bf9733b0
@ -120,7 +120,7 @@ class Parsedown
|
||||
|
||||
foreach ($blocks as $block)
|
||||
{
|
||||
if (isset($block) and $block[0] > 'A')
|
||||
if (isset($block) and $block[0] >= 'A')
|
||||
{
|
||||
$quick_block = $block;
|
||||
|
||||
@ -311,7 +311,7 @@ class Parsedown
|
||||
|
||||
# Paragraph
|
||||
|
||||
if (isset($line) and $line[0] > 'A')
|
||||
if (isset($line) and $line[0] >= 'A')
|
||||
{
|
||||
$quick_line = $line;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user