mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-22 07:25:36 +00:00
Roff tokenizer: skip .sp in tables.
This commit is contained in:
@@ -364,7 +364,8 @@ lexTableRows :: PandocMonad m => RoffLexer m [TableRow]
|
||||
lexTableRows = do
|
||||
aligns <- tableFormatSpec
|
||||
spaces
|
||||
skipMany lexComment
|
||||
skipMany $ lexComment
|
||||
<|> try (mempty <$ (string ".sp" >> skipMany spaceChar >> newline))
|
||||
spaces
|
||||
rows <- many (notFollowedBy (try (string ".TE") <|> try (string ".T&")) >>
|
||||
tableRow)
|
||||
|
||||
Reference in New Issue
Block a user