on master help sign in
Add "data" as a URL attribute
ce745bcIan Ross
src/Hakyll/Web/Html.hs+1−1
@@ -54,7 +54,7 @@ demoteHeaders = withTags $ \tag -> case tag of
54
54
55--------------------------------------------------------------------------------
55--------------------------------------------------------------------------------
56isUrlAttribute :: String -> Bool
56isUrlAttribute :: String -> Bool
57−isUrlAttribute = (`elem` ["src", "href"])
57+isUrlAttribute = (`elem` ["src", "href", "data"])
58
58
59
59
60--------------------------------------------------------------------------------
60--------------------------------------------------------------------------------