Skip to content

Commit

Permalink
SelfContained: data-background-image instead of data-background.
Browse files Browse the repository at this point in the history
Really closes #3979.
  • Loading branch information
jgm committed Oct 21, 2017
1 parent dc92c34 commit 5164ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Text/Pandoc/SelfContained.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5164ecd

Please sign in to comment.