git.iko.soy/typeable/pandoc
on master help sign in
Added `track` to list of tags treated by `--self-contained`.

Closes #1664.

commitbf00556c722dde161f3bed3da710fe97d0d5033e authorJohn MacFarlane <jgm@berkeley.edu> dateSat 4 Oct 2014, 11:37 (12 years ago) parent08ac338
1 file changed+2−1
src/Text/Pandoc/SelfContained.hs+2−1
src/Text/Pandoc/SelfContained.hs+2−1
@@ -51,7 +51,8 @@ isOk c = isAscii c && isAlphaNum c
5151
5252convertTag :: MediaBag -> Maybe String -> Tag String -> IO (Tag String)
5353convertTag media sourceURL t@(TagOpen tagname as)
54− | tagname `elem` ["img", "embed", "video", "input", "audio", "source"] = do
54+ | tagname `elem`
55+ ["img", "embed", "video", "input", "audio", "source", "track"] = do
5556 as' <- mapM processAttribute as
5657 return $ TagOpen tagname as'
5758 where processAttribute (x,y) =