Markdown : add a space in the middle of two concatanated lines
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1796 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -323,4 +323,14 @@ end"));
|
||||
$md = new markdown ();
|
||||
printf ($md->html ("line1 \nline2\n"));
|
||||
}
|
||||
|
||||
public function testCarriageReturn3 ()
|
||||
{
|
||||
$this->expectOutputString("<p>line1 line2 line3.</p>");
|
||||
$md = new markdown ();
|
||||
$md->debug = 1;
|
||||
printf ($md->html ("line1
|
||||
line2
|
||||
line3."));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user