Consume whitespace between greater-than sign and text in a blockquote
line
This commit is contained in:
@@ -212,6 +212,7 @@ parsePara = do
|
|||||||
parseQuotedLine :: ReadP String
|
parseQuotedLine :: ReadP String
|
||||||
parseQuotedLine = do
|
parseQuotedLine = do
|
||||||
char '>'
|
char '>'
|
||||||
|
greedyParse (char ' ' +++ char '\t')
|
||||||
restOfLine <- munch (/= '\n')
|
restOfLine <- munch (/= '\n')
|
||||||
Text.ParserCombinators.ReadP.optional (char '\n') >> return ""
|
Text.ParserCombinators.ReadP.optional (char '\n') >> return ""
|
||||||
return restOfLine
|
return restOfLine
|
||||||
|
Reference in New Issue
Block a user