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:
2016-02-23 13:36:30 +00:00
parent b6a8b728bd
commit 6b5056348b

View File

@@ -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 ()
{