Consume whitespace between greater-than sign and text in a blockquote

line
This commit is contained in:
2025-05-09 23:12:12 -05:00
parent 4f23592aeb
commit 549504d650

View File

@@ -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