MediaWiki reader: Skip attributes on table rows.
Previously we just crashed if rows had attributes, now we ignore them.
This commit is contained in:
parent
b89a443034
commit
c63e490ab2
1 changed files with 2 additions and 1 deletions
|
@ -228,7 +228,8 @@ tableEnd :: MWParser ()
|
|||
tableEnd = try $ guardColumnOne *> skipSpaces *> sym "|}"
|
||||
|
||||
rowsep :: MWParser ()
|
||||
rowsep = try $ guardColumnOne *> skipSpaces *> sym "|-" <* blanklines
|
||||
rowsep = try $ guardColumnOne *> skipSpaces *> sym "|-" <*
|
||||
optional (void parseAttr) <* blanklines
|
||||
|
||||
cellsep :: MWParser ()
|
||||
cellsep = try $
|
||||
|
|
Loading…
Reference in a new issue