diff options
author | c50a326 <c50a326@tutanota.com> | 2019-03-10 17:18:07 +0530 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2019-03-10 13:02:01 -0400 |
commit | 61892dd9d9dcacdcca889c88dbe5db990988a400 (patch) | |
tree | fc6f494fc836b5f6d97aa7965a49da95c45196e3 | |
parent | 589b2273c4c7038604a7837b428ec4d26e545b0b (diff) | |
download | hakyll-61892dd9d9dcacdcca889c88dbe5db990988a400.tar.gz |
Added "srcset" to the list in `isUrlAttribute`.
-rw-r--r-- | lib/Hakyll/Web/Html.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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"]) -------------------------------------------------------------------------------- |