zero forwards progress

This commit is contained in:
Pagwin 2025-11-16 11:32:37 -05:00
parent 843fb5dc40
commit 53290132e7
No known key found for this signature in database
GPG key ID: 81137023740CA260

View file

@ -258,8 +258,8 @@ paragraphBlock = do
-- Inline Elements
inlineElement :: Parser InlineText
inlineElement =
logP $
choice
log_ "inline element call"
*> choice
[ try strong <?> "Inline Strong Text",
try emphasis <?> "Inline Italic Text",
try crossedText <?> "Inline Crossed Text",
@ -328,7 +328,9 @@ inlineElementNo c =
plainTextNo :: [Char] -> Parser InlineText
plainTextNo disallow = do
log_ "a"
firstChar <- noneOf disallow <?> "Plain Text Initial Disallow"
log_ "b"
remChars <- manyTill (plainTextCharNo disallow) lineEnding <?> "Remaining Characters"
pure $ Text $ T.map wspHandler $ T.pack $ firstChar : remChars
where