diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-10-20 23:16:53 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-20 23:16:53 -0700 |
commit | 5164ecd0ecf59f1a923ed1dcf2fd48f2fcd84dc8 (patch) | |
tree | 541dcdc9a89165b3e97c6dbb53a23858f70acfb6 /src/Text/Pandoc | |
parent | dc92c348275ad2de1da94033e0096cd610ee4883 (diff) | |
download | pandoc-5164ecd0ecf59f1a923ed1dcf2fd48f2fcd84dc8.tar.gz |
SelfContained: data-background-image instead of data-background.
Really closes #3979.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/SelfContained.hs | 2 |
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) |