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:
@@ -350,6 +350,8 @@ class markdown
|
|||||||
$htmlStack = array_reverse ($htmlStack);
|
$htmlStack = array_reverse ($htmlStack);
|
||||||
foreach ($htmlStack as $type)
|
foreach ($htmlStack as $type)
|
||||||
{
|
{
|
||||||
|
if ($type === "code")
|
||||||
|
$res = substr ($res, 0, -1);
|
||||||
$this->debugMKD ("FIN</$type>");
|
$this->debugMKD ("FIN</$type>");
|
||||||
$res .= "</$type>\n";
|
$res .= "</$type>\n";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user