summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web/Urls.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hakyll/Web/Urls.hs')
-rw-r--r--src/Hakyll/Web/Urls.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Hakyll/Web/Urls.hs b/src/Hakyll/Web/Urls.hs
index e89bd08..1cd0816 100644
--- a/src/Hakyll/Web/Urls.hs
+++ b/src/Hakyll/Web/Urls.hs
@@ -29,7 +29,8 @@ withUrls f = renderTags' . map tag . TS.parseTags
--
renderTags' :: [TS.Tag String] -> String
renderTags' = TS.renderTagsOptions TS.renderOptions
- { TS.optRawTag = (`elem` ["script", "style"]) . map toLower
+ { TS.optRawTag = (`elem` ["script", "style"]) . map toLower
+ , TS.optMinimize = (`elem` ["br", "img"])
}
-- | Convert a filepath to an URL starting from the site root