1
0
mirror of https://github.com/erusev/parsedown.git synced 2025-09-03 03:42:38 +02:00

Merge pull request #11 from hkdobrev/fix-quick-block-check

Fixed performance check for quick blocks and lines
This commit is contained in:
Emanuil Rusev
2013-07-22 13:04:38 -07:00

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;