mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
SelfContained: data-background-image instead of data-background.
Really closes #3979.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user