Markdown : Add space between the lines when a paragraph continues

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1795 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2014-09-03 13:34:28 +00:00
parent 54d2616b1c
commit 20d4c4ec57
2 changed files with 15 additions and 7 deletions

View File

@@ -316,4 +316,11 @@ end"));
$md = new markdown ();
printf ($md->html ("line1\nline2\n"));
}
public function testCarriageReturn2 ()
{
$this->expectOutputString("<p>line1<br/>line2</p>");
$md = new markdown ();
printf ($md->html ("line1 \nline2\n"));
}
}