diff --git a/markdown.php b/markdown.php index ca7766a..3b25bb4 100644 --- a/markdown.php +++ b/markdown.php @@ -329,7 +329,7 @@ class markdown } $this->debugMKD ("$lineTxt"); - $res .= "$lineTxt\n"; + $res .= substr ($lineTxt, end ($indentStack))."\n"; } $this->debugMKD ("DEB1 : End of loop");