diff --git a/src/ed/entity.py b/src/ed/entity.py index 8ba322c..a6be8cd 100644 --- a/src/ed/entity.py +++ b/src/ed/entity.py @@ -323,7 +323,7 @@ def from_entity_info(e: EntityInfo) -> Entity: if e.type == "person": try: - pp_dict = yaml.load(e.data) + pp_dict = yaml.load(e.data, yaml.SafeLoader) del pp_dict["position"] del pp_dict["header"] entity.person_properties = PersonProperties(parent_entity=entity, **pp_dict)