- Added HTML output

This commit is contained in:
Dev 2026-06-23 18:10:36 +00:00
parent e51d1ea7a3
commit 993c556d30

View File

@ -170,6 +170,11 @@
responseEditorElement.innerHTML = DOMEncode(body);
}
else if (aceMode === "html") {
let b64 = btoa(unescape(encodeURIComponent(body)));
responseEditorElement.innerHTML = `<iframe style='width:100%; min-height:60vh' src="data:text/html;base64,${b64}"></iframe>`
}
else {
responseEditorElement.innerText = body;
}