2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-25 20:53:36 +00:00

HTML outputs are now unescaped correctly when converted to a string

This commit is contained in:
n1474335
2018-01-25 16:25:19 +00:00
parent 170feaaff2
commit 2b703b2b9b

View File

@@ -64,7 +64,7 @@ OutputWaiter.prototype.set = function(data, type, duration, preserveBuffer) {
outputText.value = "";
outputHtml.innerHTML = data;
this.dishStr = Utils.stripHtmlTags(data, true);
this.dishStr = Utils.unescapeHtml(Utils.stripHtmlTags(data, true));
length = data.length;
lines = this.dishStr.count("\n") + 1;