BUG Markdown : if an automatic URL have two underscores, the <em> work and the URL is incorrect
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2547 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -282,6 +282,14 @@ base</code></pre>");
|
||||
printf ($md->html ("<test@example.com>"));
|
||||
}
|
||||
|
||||
public function testLinkHTTP4 ()
|
||||
{
|
||||
$this->expectOutputString(
|
||||
"<p><a href='mailto:test_with_underscore@example.com'>test_with_underscore@example.com</a></p>");
|
||||
$md = new markdown ();
|
||||
printf ($md->html ("<test_with_underscore@example.com>"));
|
||||
}
|
||||
|
||||
// Chaining
|
||||
public function testChain1 ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user