Correct the code when it finished the file : no blank line

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1490 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2014-06-25 19:19:19 +00:00
parent 86bb25a688
commit 3116a1f5c3

View File

@@ -350,6 +350,8 @@ class markdown
$htmlStack = array_reverse ($htmlStack);
foreach ($htmlStack as $type)
{
if ($type === "code")
$res = substr ($res, 0, -1);
$this->debugMKD ("FIN</$type>");
$res .= "</$type>\n";
}