We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e062e6e commit 85ccc1cCopy full SHA for 85ccc1c
.changeset/cool-rivers-write.md
@@ -0,0 +1,5 @@
1
+---
2
+'rich-text-svelte-renderer': patch
3
4
+
5
+iFrame src issue: replaced escapeHTML with encodeURI
src/lib/Elements/IFrame.svelte
@@ -1,6 +1,4 @@
<script lang="ts">
- import { escapeHTML } from 'es-escape-html';
-
interface Props {
url?: string;
6
title?: string;
@@ -23,7 +21,7 @@
23
21
style:left="0"
24
22
style:width="100%"
25
style:height="100%"
26
- src={escapeHTML(url)}
+ src={encodeURI(url)}
27
loading="lazy"
28
allow="fullscreen"
29
frameBorder="0"
0 commit comments