on master help sign in
Add "data" as a URL attribute
commitce745bcfe4d1b494a55902c6372041f552f613f9 authorIan Ross <ian@skybluetrades.net> dateSun 21 Apr 2013, 13:20 (14 years ago) parent89f94c5
1 file changed+1−1
src/Hakyll/Web/Html.hs+1−1
src/Hakyll/Web/Html.hs+1−1
@@ -54,7 +54,7 @@ demoteHeaders = withTags $ \tag -> case tag of
5454
5555--------------------------------------------------------------------------------
5656isUrlAttribute :: String -> Bool
57−isUrlAttribute = (`elem` ["src", "href"])
57+isUrlAttribute = (`elem` ["src", "href", "data"])
5858
5959
6060--------------------------------------------------------------------------------