This commit is contained in:
Emanuil Rusev 2014-11-29 04:29:14 +02:00
parent 5bc6d90f8b
commit 495e7ac73b
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ class Parsedown
return;
}
if (preg_match('/<'.$Block['name'].'([ ][^\/]+)?>/', $Line['text'])) # opening tag
if (preg_match('/<'.$Block['name'].'([ ].*[\'"])?[ ]*>/', $Line['text'])) # opening tag
{
$Block['depth'] ++;
}