mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-27 18:05:48 +00:00
RTF reader: Ignore \pgdsc group.
Otherwise we get style names treated as test.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user