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 ee04d9e commit 2ea575cCopy full SHA for 2ea575c
src/packages/frontend/frame-editors/html-editor/iframe-html.tsx
@@ -163,7 +163,7 @@ export const IFrameHTML: React.FC<Props> = React.memo((props: Props) => {
163
frame-src * data: blob:;
164
object-src * data: blob:;
165
media-src * data: blob:;">`;
166
- const newSrc = src.replace(/<head>/i, `<head>${extraHead}`);
+ const newSrc = src.replace(/\<head\>/i, `<head>${extraHead}`);
167
if (src != newSrc) {
168
src = newSrc;
169
} else {
0 commit comments