MediaWiki reader: Skip attributes on table rows.

Previously we just crashed if rows had attributes, now we
ignore them.
This commit is contained in:
John MacFarlane 2013-05-20 10:43:12 -07:00
parent b89a443034
commit c63e490ab2

View file

@ -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 $