summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web
diff options
context:
space:
mode:
authorIan Ross <ian@skybluetrades.net>2013-04-21 13:20:13 +0200
committerIan Ross <ian@skybluetrades.net>2013-04-21 13:20:13 +0200
commitce745bcfe4d1b494a55902c6372041f552f613f9 (patch)
treee023e5dafe79ae597fd264ea62263158c1191f04 /src/Hakyll/Web
parent89f94c5d652c202be827f468bb3e2b6d91097100 (diff)
downloadhakyll-ce745bcfe4d1b494a55902c6372041f552f613f9.tar.gz
Add "data" as a URL attribute
Diffstat (limited to 'src/Hakyll/Web')
-rw-r--r--src/Hakyll/Web/Html.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hakyll/Web/Html.hs b/src/Hakyll/Web/Html.hs
index 4053003..90f963e 100644
--- a/src/Hakyll/Web/Html.hs
+++ b/src/Hakyll/Web/Html.hs
@@ -54,7 +54,7 @@ demoteHeaders = withTags $ \tag -> case tag of
--------------------------------------------------------------------------------
isUrlAttribute :: String -> Bool
-isUrlAttribute = (`elem` ["src", "href"])
+isUrlAttribute = (`elem` ["src", "href", "data"])
--------------------------------------------------------------------------------