From 61892dd9d9dcacdcca889c88dbe5db990988a400 Mon Sep 17 00:00:00 2001 From: c50a326 Date: Sun, 10 Mar 2019 17:18:07 +0530 Subject: Added "srcset" to the list in `isUrlAttribute`. --- lib/Hakyll/Web/Html.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Hakyll/Web/Html.hs b/lib/Hakyll/Web/Html.hs index fc3deaa..23ad78b 100644 --- a/lib/Hakyll/Web/Html.hs +++ b/lib/Hakyll/Web/Html.hs @@ -59,7 +59,7 @@ demoteHeaders = withTags $ \tag -> case tag of -------------------------------------------------------------------------------- isUrlAttribute :: String -> Bool -isUrlAttribute = (`elem` ["src", "href", "data", "poster"]) +isUrlAttribute = (`elem` ["src", "href", "data", "poster", "srcset"]) -------------------------------------------------------------------------------- -- cgit v1.2.3