- Added HTML output
This commit is contained in:
parent
e51d1ea7a3
commit
993c556d30
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user