diff --git a/Parsedown.php b/Parsedown.php index e667b3f..e12a5ce 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -182,7 +182,7 @@ class Parsedown if (isset($element['interrupted'])) { - if ($line[0] === ' ') + if ($line[0] === ' ' and ! preg_match('/^[ ]{0,4}\[(.+?)\]:[ ]*([^ ]+)/', $line)) { $element['lines'] []= ''; @@ -692,4 +692,4 @@ class Parsedown return $text; } -} \ No newline at end of file +}