@@ -30,6 +30,8 @@ Conversion of mediawiki text to 'Pandoc' document.
33+_ tables - cell alignment and width
34+_ calculate cell widths when not given??? see html? latex? reader
33_ support tables http://www.mediawiki.org/wiki/Help:Tables
35_ support tables http://www.mediawiki.org/wiki/Help:Tables
34- footnotes?
36- footnotes?
@@ -225,6 +227,10 @@ tableCell :: MWParser Blocks
225tableCell = try $ do
227tableCell = try $ do
227 skipMany spaceChar
229 skipMany spaceChar
230+ attrs <- (parseAttrs <$>
231+ manyTill (satisfy (/='\n'))
232+ (try $ char '|' <* notFollowedBy (char '|')))
228 ls <- many (notFollowedBy (cellsep <|> rowsep <|> tableEnd) *> anyChar)
234 ls <- many (notFollowedBy (cellsep <|> rowsep <|> tableEnd) *> anyChar)
229 parseFromString (mconcat <$> many block) ls
235 parseFromString (mconcat <$> many block) ls