1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Fix HTML Bug

If you add markdown after HTML on the same line, all the remaining markdown will not be parsed.

Demo:
Add "<span></span> *test*" without quotes to the top of a markdown page on it's own line and then parse.
This commit is contained in:
kaamaru 2013-12-18 12:32:49 +00:00
parent 0f027dc04b
commit 576b0ea761

View File

@ -618,6 +618,12 @@ class Parsedown
isset($element['last']) and $markup .= '</'.$list_type.'>'."\n";
break;
case 'markup':
$markup .= $this->parse_span_elements($element['text'])."\n";
break;
default: