diff --git a/tiptapy/macros.py b/tiptapy/macros.py index f6ad08f..3a0f01a 100644 --- a/tiptapy/macros.py +++ b/tiptapy/macros.py @@ -32,9 +32,7 @@ def handle_links(attrs): ): attrs["target"] = "_blank" attrs["rel"] = "noopener nofollow" - retval = " ".join( - f'{escape(k)}="{escape(v)}"' for k, v in attrs.items() if v is not None - ) + retval = " ".join(f'{k}="{v}"' for k, v in attrs.items() if v is not None) return retval return handle_links