summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index bbdbbc0ba..637e9dc96 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -501,7 +501,8 @@ listItemToHtml opts bls
checkbox' = H.input ! A.type_ "checkbox"
isContents <- inlineListToHtml opts is
bsContents <- blockListToHtml opts bs
- return $ constr (checkbox >> isContents) >>
+ return $ H.label $
+ constr (checkbox >> isContents) >>
(if null bs then mempty else nl) >>
bsContents