git.iko.soy/typeable/pandoc
on master help sign in
Mediawiki reader: Fixed last commit.
commit998695001abae17faa879ad31a3284d7c629a621 authorJohn MacFarlane <fiddlosopher@gmail.com> dateThu 28 Mar 2013, 10:51 (14 years ago) parent48b23d4
1 file changed+1−1
src/Text/Pandoc/Readers/MediaWiki.hs+1−1
src/Text/Pandoc/Readers/MediaWiki.hs+1−1
@@ -336,7 +336,7 @@ preformatted = try $ do
336336 (htmlTag (~== TagOpen "nowiki" []) *>
337337 manyTill anyChar (htmlTag (~== TagClose "nowiki")))
338338 let inline' = whitespace' <|> endline' <|> nowiki'
339− <|> (notFollowedBy newline *> inline)
339+ <|> (try $ notFollowedBy newline *> inline)
340340 let strToCode (Str s) = Code ("",[],[]) s
341341 strToCode x = x
342342 contents <- mconcat <$> many1 inline'