diff --git a/tomlkit/parser.py b/tomlkit/parser.py index 097aceb6..48c22836 100644 --- a/tomlkit/parser.py +++ b/tomlkit/parser.py @@ -959,7 +959,7 @@ def _parse_table( # So we have to create the parent tables table = Table( Container(True), - Trivia(indent, cws, comment, trail), + Trivia(indent * 0, cws, comment, trail), is_aot and name_parts[0] in self._aot_stack, is_super_table=True, name=name_parts[0].key,