diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-04-16 22:26:00 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-04-16 22:26:00 -0700 |
commit | 40397b590563777c26515476d3c5c05bc2987278 (patch) | |
tree | 81c98d6bbf4d1d93458e599f7c5bc38f7f9791fc /src/Text/Pandoc | |
parent | 7ed61e0b81009fad31cd95806703e1ad7cd0f651 (diff) | |
download | pandoc-40397b590563777c26515476d3c5c05bc2987278.tar.gz |
Shared: renderTags': use self-closing tag for col element.
Closes #6295.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Shared.hs | 2 |
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 |