git.iko.soy/typeable/pandoc
on master help sign in
SelfContained: data-background-image instead of data-background.

Really closes #3979.

commit5164ecd0ecf59f1a923ed1dcf2fd48f2fcd84dc8 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 20 Oct 2017, 23:16 (9 years ago) parentdc92c34
1 file changed+1−1
src/Text/Pandoc/SelfContained.hs+1−1
src/Text/Pandoc/SelfContained.hs+1−1
@@ -80,7 +80,7 @@ convertTags (t@(TagOpen tagname as):ts)
8080 rest <- convertTags ts
8181 return $ TagOpen tagname as' : rest
8282 where processAttribute (x,y) =
83− if x `elem` ["src", "data-src", "href", "poster", "data-background"]
83+ if x `elem` ["src", "data-src", "href", "poster", "data-background-image"]
8484 then do
8585 enc <- getDataURI (fromAttrib "type" t) y
8686 return (x, enc)