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

nested calls to lines should not reset reference definitions

This commit is contained in:
Emanuil Rusev 2014-04-17 15:07:09 +03:00
parent 2595f366d9
commit f310bbe13f

View File

@ -48,6 +48,9 @@ class Parsedown
# trim line breaks
$markup = trim($markup, "\n");
# clean up
$this->references = array();
return $markup;
}
@ -242,10 +245,6 @@ class Parsedown
# ~
$this->references = array();
# ~
return $markup;
}