aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-10-20 23:16:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-20 23:16:53 -0700
commit5164ecd0ecf59f1a923ed1dcf2fd48f2fcd84dc8 (patch)
tree541dcdc9a89165b3e97c6dbb53a23858f70acfb6
parentdc92c348275ad2de1da94033e0096cd610ee4883 (diff)
downloadpandoc-5164ecd0ecf59f1a923ed1dcf2fd48f2fcd84dc8.tar.gz
SelfContained: data-background-image instead of data-background.
Really closes #3979.
-rw-r--r--src/Text/Pandoc/SelfContained.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/SelfContained.hs b/src/Text/Pandoc/SelfContained.hs
index 36be62f0a..ae44cd8cb 100644
--- a/src/Text/Pandoc/SelfContained.hs
+++ b/src/Text/Pandoc/SelfContained.hs
@@ -80,7 +80,7 @@ convertTags (t@(TagOpen tagname as):ts)
rest <- convertTags ts
return $ TagOpen tagname as' : rest
where processAttribute (x,y) =
- if x `elem` ["src", "data-src", "href", "poster", "data-background"]
+ if x `elem` ["src", "data-src", "href", "poster", "data-background-image"]
then do
enc <- getDataURI (fromAttrib "type" t) y
return (x, enc)