Skip to content

Commit

Permalink
Be kind
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanarijit committed Feb 12, 2024
1 parent 89fddf0 commit 86b85d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tiptapy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ def handle_starttag(self, tag, attrs):
return

if self.iframe:
raise ValueError("Only one iframe tag is allowed")
# Ignore more than one iframe
return

_attrs = " ".join(
[k if v is None else f'{escape(k)}="{escape(v)}"' for k, v in attrs]
Expand Down

0 comments on commit 86b85d5

Please sign in to comment.