Add more markdown tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1800 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -334,4 +334,18 @@ end"));
|
||||
line2
|
||||
line3."));
|
||||
}
|
||||
|
||||
public function testHTMLSpecialChars1 ()
|
||||
{
|
||||
$this->expectOutputString("<p>toto&titi</p>");
|
||||
$md = new markdown ();
|
||||
printf ($md->html ("toto&titi"));
|
||||
}
|
||||
|
||||
public function testHTMLSpecialChars2 ()
|
||||
{
|
||||
$this->expectOutputString("<p>totoétiti</p>");
|
||||
$md = new markdown ();
|
||||
printf ($md->html ("totoétiti"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user