1
0
mirror of https://github.com/erusev/parsedown.git synced 2025-09-02 19:32:35 +02:00

Fixed performance check for quick blocks and lines

This commit is contained in:
hkdobrev
2013-07-22 21:54:18 +03:00
parent 99bf0d4bba
commit 41bf9733b0

View File

@@ -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;