diff options
author | Ian Ross <ian@skybluetrades.net> | 2013-04-21 13:20:13 +0200 |
---|---|---|
committer | Ian Ross <ian@skybluetrades.net> | 2013-04-21 13:20:13 +0200 |
commit | ce745bcfe4d1b494a55902c6372041f552f613f9 (patch) | |
tree | e023e5dafe79ae597fd264ea62263158c1191f04 /src/Hakyll/Web | |
parent | 89f94c5d652c202be827f468bb3e2b6d91097100 (diff) | |
download | hakyll-ce745bcfe4d1b494a55902c6372041f552f613f9.tar.gz |
Add "data" as a URL attribute
Diffstat (limited to 'src/Hakyll/Web')
-rw-r--r-- | src/Hakyll/Web/Html.hs | 2 |
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"]) -------------------------------------------------------------------------------- |