aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-11-25 10:58:43 -0500
committerJohn MacFarlane <[email protected]>2023-11-25 10:58:43 -0500
commitf7f2a016d937c45f6dc4ab2124e066b5d8d38226 (patch)
tree7604e13dbdd40f13a92fca17507ac9fc0383fc54 /src
parent6c4f938192fecef999a22a93a8d3bca02583aff9 (diff)
Shared.renderTags': use minimized tag for rect.
Diffstat (limited to 'src')
-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 75cc442c5..06ee95701 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -778,7 +778,7 @@ renderTags' :: [Tag T.Text] -> T.Text
renderTags' = renderTagsOptions
renderOptions{ optMinimize = matchTags ["hr", "br", "img",
"meta", "link", "col",
- "use", "path"]
+ "use", "path", "rect"]
, optRawTag = matchTags ["script", "style"] }
where matchTags tags = flip elem tags . T.toLower