aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Shared.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-04-16 22:26:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-04-16 22:26:00 -0700
commit40397b590563777c26515476d3c5c05bc2987278 (patch)
tree81c98d6bbf4d1d93458e599f7c5bc38f7f9791fc /src/Text/Pandoc/Shared.hs
parent7ed61e0b81009fad31cd95806703e1ad7cd0f651 (diff)
downloadpandoc-40397b590563777c26515476d3c5c05bc2987278.tar.gz
Shared: renderTags': use self-closing tag for col element.
Closes #6295.
Diffstat (limited to 'src/Text/Pandoc/Shared.hs')
-rw-r--r--src/Text/Pandoc/Shared.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs
index 972a14cd7..8bd10e564 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -836,7 +836,7 @@ filterIpynbOutput mode = walk go
renderTags' :: [Tag T.Text] -> T.Text
renderTags' = renderTagsOptions
renderOptions{ optMinimize = matchTags ["hr", "br", "img",
- "meta", "link"]
+ "meta", "link", "col"]
, optRawTag = matchTags ["script", "style"] }
where matchTags tags = flip elem tags . T.toLower