diff --git a/mpcontribs-client/mpcontribs/client/__init__.py b/mpcontribs-client/mpcontribs/client/__init__.py index ef088d9bf..9f3666364 100644 --- a/mpcontribs-client/mpcontribs/client/__init__.py +++ b/mpcontribs-client/mpcontribs/client/__init__.py @@ -2018,7 +2018,11 @@ def submit_contributions( logger.warning("storing structure properties not supported, yet!") del dct["properties"] elif is_table: - table = element if isinstance(element, Table) else Table(element) + table = element + if not isinstance(table, Table): + table = Table(element) + table.attrs = element.attrs + table._clean() dct = table.to_dict(orient="split") elif is_attachment: