We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aea1537 commit b204bcaCopy full SHA for b204bca
1 file changed
live-view/live-view.js
@@ -1120,6 +1120,8 @@ async function renderLiveViewMarkdown(file) {
1120
let html = marked.parse(decodeUnicode(file.content));
1121
html = DOMPurify.sanitize(html);
1122
1123
+ frameDoc.head.innerHTML = '<base href="about:blank">';
1124
+
1125
frameDoc.body.style.display = 'none';
1126
frameDoc.body.innerHTML = html;
1127
0 commit comments