RTF reader: Ignore \pgdsc group.

Otherwise we get style names treated as test.
This commit is contained in:
John MacFarlane 2021-09-03 19:52:52 -07:00
parent b82a01b688
commit e5d0b702c7

View file

@ -411,6 +411,7 @@ processTok bs (Tok pos tok') = do
-- eject any previous list items...sometimes TextEdit
-- doesn't put in a \par
emitBlocks bs
Grouped (Tok _ (ControlWord "pgdsc" _) : _) -> pure bs
Grouped (Tok _ (ControlWord "colortbl" _) : _) -> pure bs
Grouped (Tok _ (ControlWord "listtable" _) : toks) ->
bs <$ inGroup (handleListTable toks)