Mediawiki reader: Fixed last commit.
This commit is contained in:
parent
48b23d491d
commit
998695001a
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ preformatted = try $ do
|
|||
(htmlTag (~== TagOpen "nowiki" []) *>
|
||||
manyTill anyChar (htmlTag (~== TagClose "nowiki")))
|
||||
let inline' = whitespace' <|> endline' <|> nowiki'
|
||||
<|> (notFollowedBy newline *> inline)
|
||||
<|> (try $ notFollowedBy newline *> inline)
|
||||
let strToCode (Str s) = Code ("",[],[]) s
|
||||
strToCode x = x
|
||||
contents <- mconcat <$> many1 inline'
|
||||
|
|
Loading…
Add table
Reference in a new issue