mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 00:15:44 +00:00
Minor renaming to avoid shadowing.
This commit is contained in:
@@ -207,8 +207,8 @@ parseRTF = do
|
||||
bs <- (case toks of
|
||||
-- if we start with {\rtf1...}, parse that and ignore
|
||||
-- what follows (which in certain cases can be non-RTF content)
|
||||
tok@(Tok _ (Grouped (Tok _ (ControlWord "rtf" (Just 1)) : _))) : _
|
||||
-> foldM processTok mempty [tok]
|
||||
rtftok@(Tok _ (Grouped (Tok _ (ControlWord "rtf" (Just 1)) : _))) : _
|
||||
-> foldM processTok mempty [rtftok]
|
||||
_ -> foldM processTok mempty toks)
|
||||
>>= emitBlocks
|
||||
unclosed <- closeContainers
|
||||
|
||||
Reference in New Issue
Block a user