From af4e61af20c8d26d9374db3bdd76da52554c3be0 Mon Sep 17 00:00:00 2001 From: Arijit Basu Date: Mon, 12 Feb 2024 16:19:54 +0530 Subject: [PATCH] Cleanup --- tiptapy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiptapy/__init__.py b/tiptapy/__init__.py index 7516bff..08f248c 100644 --- a/tiptapy/__init__.py +++ b/tiptapy/__init__.py @@ -71,7 +71,7 @@ def escape_values_recursive(node): for k, v in node.items(): esc_k = escape(k) if k != esc_k: - node.pop(k) + del node[k] if esc_k == html_key: # Allow only iframe tag p = IFrameParser()