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

fix reference

This commit is contained in:
Emanuil Rusev 2014-02-06 02:36:11 +02:00
parent 14ab6d46fe
commit abb88d59fa

View File

@ -438,6 +438,11 @@ class Parsedown
$substring = substr($outdented_line, $position + 2); $substring = substr($outdented_line, $position + 2);
$substring = trim($substring); $substring = trim($substring);
if ($substring === '')
{
break;
}
if ($substring[0] === '<') if ($substring[0] === '<')
{ {
$position = strpos($substring, '>'); $position = strpos($substring, '>');