markdown : remove empty <p></p> sections
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1483 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -38,6 +38,7 @@ class markdown
|
|||||||
|
|
||||||
$res = $this->paragraph ($mark);
|
$res = $this->paragraph ($mark);
|
||||||
|
|
||||||
|
$res = str_replace ("<p></p>", "", $res);
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user