back to less lenient list start conditon – breaks less commonmark tests, but fails a few in native tests. Interesting...

This commit is contained in:
Aidan Woods 2017-01-24 00:43:59 +00:00
parent 49ae7f9925
commit 63c01d5057
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9

View File

@ -603,7 +603,7 @@ class Parsedown
{
$Line['indent'] += strlen($matches[1]) + strlen($matches[2]);
if ($Block['indent'] - $Block['markerWhitespace'] <= $Line['indent'])
if ($Block['indent'] === $Line['indent'])
{
if (isset($Block['interrupted']))
{