@@ -30,10 +30,7 @@ Conversion of mediawiki text to 'Pandoc' document.
33−_ wikipedia {{cite}} tags
33+_ parse templates?
34−_ <references /> {{Reflist}}
35−_ support tables http://www.mediawiki.org/wiki/Help:Tables
38module Text.Pandoc.Readers.MediaWiki ( readMediaWiki ) where
35module Text.Pandoc.Readers.MediaWiki ( readMediaWiki ) where
@@ -101,7 +98,7 @@ sym :: String -> MWParser ()
101sym s = () <$ try (string s)
98sym s = () <$ try (string s)
103newBlockTags :: [String]
100newBlockTags :: [String]
104−newBlockTags = ["haskell","syntaxhighlight","source","gallery"]
101+newBlockTags = ["haskell","syntaxhighlight","source","gallery","references"]
106isBlockTag' :: Tag String -> Bool
103isBlockTag' :: Tag String -> Bool
107isBlockTag' tag@(TagOpen t _) = (isBlockTag tag || t `elem` newBlockTags) &&
104isBlockTag' tag@(TagOpen t _) = (isBlockTag tag || t `elem` newBlockTags) &&