MediaWiki tables: allow extra hyphens after |-
in tables.
I didn't see this documented anywhere, but it seems to be allowed (and common). See #2649. This addresses some of the cases there, but not all.
This commit is contained in:
parent
7af3d90ae1
commit
598ffa3a94
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ tableEnd = try $ guardColumnOne *> skipSpaces *> sym "|}"
|
|||
|
||||
rowsep :: PandocMonad m => MWParser m ()
|
||||
rowsep = try $ guardColumnOne *> skipSpaces *> sym "|-" <*
|
||||
optional parseAttr <* blanklines
|
||||
many (char '-') <* optional parseAttr <* blanklines
|
||||
|
||||
cellsep :: PandocMonad m => MWParser m ()
|
||||
cellsep = try $
|
||||
|
|
Loading…
Add table
Reference in a new issue