From 6b5056348b4358910d631a5d8947a681b3b648c1 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Tue, 23 Feb 2016 13:36:30 +0000 Subject: [PATCH] BUG Markdown : if an automatic URL have two underscores, the work and the URL is incorrect git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2547 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- Tests/markdownTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Tests/markdownTest.php b/Tests/markdownTest.php index 038c160..173daf9 100644 --- a/Tests/markdownTest.php +++ b/Tests/markdownTest.php @@ -282,6 +282,14 @@ base"); printf ($md->html ("")); } + public function testLinkHTTP4 () + { + $this->expectOutputString( + "

test_with_underscore@example.com

"); + $md = new markdown (); + printf ($md->html ("")); + } + // Chaining public function testChain1 () {