summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDuncan <duncan@vtllf.org>2015-08-16 15:49:56 +1200
committerDuncan <duncan@vtllf.org>2015-08-16 15:49:56 +1200
commite77564f1b292d6021a29565c1d12c89ff6881e3c (patch)
tree252cc7040a07d9738b287d3470f6af9233dfdd8a /src
parent72f2b6c439803ee2224e9fff774c5d08df56c683 (diff)
downloadhakyll-e77564f1b292d6021a29565c1d12c89ff6881e3c.tar.gz
Add "poster" as a URL attribute
Diffstat (limited to 'src')
-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 bed7755..6b7ec88 100644
--- a/src/Hakyll/Web/Html.hs
+++ b/src/Hakyll/Web/Html.hs
@@ -55,7 +55,7 @@ demoteHeaders = withTags $ \tag -> case tag of
--------------------------------------------------------------------------------
isUrlAttribute :: String -> Bool
-isUrlAttribute = (`elem` ["src", "href", "data"])
+isUrlAttribute = (`elem` ["src", "href", "data", "poster"])
--------------------------------------------------------------------------------