1.1 --- a/moinformat/parsers/moin.py Mon Oct 25 00:54:05 2021 +0200
1.2 +++ b/moinformat/parsers/moin.py Mon Oct 25 00:55:44 2021 +0200
1.3 @@ -455,8 +455,8 @@
1.4 else:
1.5 # Add the attributes as a node, also recording their presence.
1.6
1.7 - cell.append(attrs)
1.8 cell.attrs = attrs
1.9 + self.add_node(cell, attrs)
1.10 return
1.11
1.12 # Invalid nodes were found: serialise the attributes as text.
1.13 @@ -519,7 +519,7 @@
1.14
1.15 # Add the row to the table and any new table to the region.
1.16
1.17 - table.add(row)
1.18 + self.add_node(table, row)
1.19 if new_table:
1.20 self.add_node(region, new_table)
1.21