From 2c4e69f62edb2c92beeda526628d464883246698 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Wed, 25 Jun 2014 19:45:21 +0000 Subject: [PATCH] Markdown : be compatible with ul or li git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1492 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- markdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown.php b/markdown.php index ef528ad..5115176 100644 --- a/markdown.php +++ b/markdown.php @@ -234,7 +234,7 @@ class markdown $this->debugMKD ("DEB2 : Continuous LI block"); // Suppress \n on last line $res = substr ($res, 0, -1); - $type = "ul"; + $type = prev ($htmlStack); $blockLI = true; $lineTxt = " ".$lineTxt; }