mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
HTML outputs are now unescaped correctly when converted to a string
This commit is contained in:
parent
170feaaff2
commit
2b703b2b9b
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ OutputWaiter.prototype.set = function(data, type, duration, preserveBuffer) {
|
||||||
|
|
||||||
outputText.value = "";
|
outputText.value = "";
|
||||||
outputHtml.innerHTML = data;
|
outputHtml.innerHTML = data;
|
||||||
this.dishStr = Utils.stripHtmlTags(data, true);
|
this.dishStr = Utils.unescapeHtml(Utils.stripHtmlTags(data, true));
|
||||||
length = data.length;
|
length = data.length;
|
||||||
lines = this.dishStr.count("\n") + 1;
|
lines = this.dishStr.count("\n") + 1;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue