on master help sign in
Added "srcset" to the list in `isUrlAttribute`.
commit61892dd9d9dcacdcca889c88dbe5db990988a400 authorc50a326 <c50a326@tutanota.com> dateSun 10 Mar 2019, 17:18 (8 years ago) parent589b227
1 file changed+1−1
lib/Hakyll/Web/Html.hs+1−1
lib/Hakyll/Web/Html.hs+1−1
@@ -59,7 +59,7 @@ demoteHeaders = withTags $ \tag -> case tag of
5959
6060--------------------------------------------------------------------------------
6161isUrlAttribute :: String -> Bool
62−isUrlAttribute = (`elem` ["src", "href", "data", "poster"])
62+isUrlAttribute = (`elem` ["src", "href", "data", "poster", "srcset"])
6363
6464
6565--------------------------------------------------------------------------------