From e6ba0cc8936a0520bee96de6c2eb42973caa4058 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Tue, 11 Sep 2018 13:12:00 +0300 Subject: HTML writer: always output
element, even if it is empty Fixes #4883 --- test/Tests/Writers/HTML.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/Tests/Writers/HTML.hs') diff --git a/test/Tests/Writers/HTML.hs b/test/Tests/Writers/HTML.hs index e771255b3..dfacda608 100644 --- a/test/Tests/Writers/HTML.hs +++ b/test/Tests/Writers/HTML.hs @@ -43,4 +43,9 @@ tests = [ testGroup "inline code" image "/url" "title" ("my " <> emph "image") =?> "\"my" ] + , testGroup "blocks" + [ "definition list with empty
" =: + definitionList [(mempty, [para $ text "foo bar"])] + =?> "

foo bar

" + ] ] -- cgit v1.2.3