From c5de3c411f1edac805a9fdd35f79f47d6aabbc9d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 15 Sep 2012 15:33:48 -0400 Subject: MediaWiki reader: Handle ref tags as footnotes. --- src/Text/Pandoc/Readers/MediaWiki.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Text/Pandoc/Readers') diff --git a/src/Text/Pandoc/Readers/MediaWiki.hs b/src/Text/Pandoc/Readers/MediaWiki.hs index dcf97646d..3d17e245b 100644 --- a/src/Text/Pandoc/Readers/MediaWiki.hs +++ b/src/Text/Pandoc/Readers/MediaWiki.hs @@ -456,6 +456,7 @@ inlineTag :: MWParser Inlines inlineTag = do (tag, _) <- lookAhead $ htmlTag isInlineTag' case tag of + TagOpen "ref" _ -> B.note . B.plain <$> inlinesInTags "ref" TagOpen "nowiki" _ -> try $ do (_,raw) <- htmlTag (~== tag) if '/' `elem` raw -- cgit v1.2.3