From 0b371c8103b49a1bc9cde99fc13dabc330e9936c Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 30 Oct 2018 13:55:08 +0100 Subject: fix html2markdown() and re-enable previously failing tests --- tests/unit/includes/MarkdownTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/unit') diff --git a/tests/unit/includes/MarkdownTest.php b/tests/unit/includes/MarkdownTest.php index f0e253a58..c1408b303 100644 --- a/tests/unit/includes/MarkdownTest.php +++ b/tests/unit/includes/MarkdownTest.php @@ -52,12 +52,12 @@ class MarkdownTest extends UnitTestCase { '  ', '' ], -/* it is not clear why this test fails + 'strong, b, em, i, bib' => [ 'strong bold em italic boitalicld', '**strong** **bold** _em_ _italic_ **bo_italic_ld**' ], -*/ + 'empty tags' => [ 'text1 text2 ', 'text1 text2' @@ -118,12 +118,12 @@ class MarkdownTest extends UnitTestCase { '<p>HTML text</p>', '`

HTML text

`' ], -/* it is not clear why this test fails + 'pre' => [ '
   line with  spaces   
', '` line with spaces `' ], -*/ + 'div p' => [ '
div

p

', "
div
p\n\n
" -- cgit v1.2.3