1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03: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
commit 8ed3b3d484

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;