diff --git a/src/ezdxf/entities/insert.py b/src/ezdxf/entities/insert.py index 8320ad04b..638a5c433 100644 --- a/src/ezdxf/entities/insert.py +++ b/src/ezdxf/entities/insert.py @@ -721,7 +721,9 @@ def add_auto_attribs(self, values: dict[str, str]) -> Insert: def unpack(dxfattribs) -> tuple[str, str, UVec]: tag = dxfattribs.pop("tag") - text = values.get(tag, "") + text = values.get(tag, None) + if text is None: # get default value + text = dxfattribs.pop("text") location = dxfattribs.pop("insert") return tag, text, location