Minor renaming to avoid shadowing.
This commit is contained in:
parent
481ff8ac44
commit
aaef51707c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue