zero forwards progress
This commit is contained in:
parent
843fb5dc40
commit
53290132e7
1 changed files with 4 additions and 2 deletions
|
|
@ -258,8 +258,8 @@ paragraphBlock = do
|
||||||
-- Inline Elements
|
-- Inline Elements
|
||||||
inlineElement :: Parser InlineText
|
inlineElement :: Parser InlineText
|
||||||
inlineElement =
|
inlineElement =
|
||||||
logP $
|
log_ "inline element call"
|
||||||
choice
|
*> choice
|
||||||
[ try strong <?> "Inline Strong Text",
|
[ try strong <?> "Inline Strong Text",
|
||||||
try emphasis <?> "Inline Italic Text",
|
try emphasis <?> "Inline Italic Text",
|
||||||
try crossedText <?> "Inline Crossed Text",
|
try crossedText <?> "Inline Crossed Text",
|
||||||
|
|
@ -328,7 +328,9 @@ inlineElementNo c =
|
||||||
|
|
||||||
plainTextNo :: [Char] -> Parser InlineText
|
plainTextNo :: [Char] -> Parser InlineText
|
||||||
plainTextNo disallow = do
|
plainTextNo disallow = do
|
||||||
|
log_ "a"
|
||||||
firstChar <- noneOf disallow <?> "Plain Text Initial Disallow"
|
firstChar <- noneOf disallow <?> "Plain Text Initial Disallow"
|
||||||
|
log_ "b"
|
||||||
remChars <- manyTill (plainTextCharNo disallow) lineEnding <?> "Remaining Characters"
|
remChars <- manyTill (plainTextCharNo disallow) lineEnding <?> "Remaining Characters"
|
||||||
pure $ Text $ T.map wspHandler $ T.pack $ firstChar : remChars
|
pure $ Text $ T.map wspHandler $ T.pack $ firstChar : remChars
|
||||||
where
|
where
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue