From ce745bcfe4d1b494a55902c6372041f552f613f9 Mon Sep 17 00:00:00 2001 From: Ian Ross Date: Sun, 21 Apr 2013 13:20:13 +0200 Subject: Add "data" as a URL attribute --- src/Hakyll/Web/Html.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Hakyll/Web') 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"]) -------------------------------------------------------------------------------- -- cgit v1.2.3