mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 23:36:16 -04:00
BUGFIX: HTML output which is then converted to a regular string (for a standard operation) still contained escaped HTML chars.
This commit is contained in:
parent
70603be5ab
commit
fc9c2d1f6e
3 changed files with 52 additions and 1 deletions
|
@ -139,7 +139,7 @@ Dish.prototype.translate = function(toType) {
|
|||
this.type = Dish.BYTE_ARRAY;
|
||||
break;
|
||||
case Dish.HTML:
|
||||
this.value = this.value ? Utils.strToByteArray(Utils.stripHtmlTags(this.value, true)) : [];
|
||||
this.value = this.value ? Utils.strToByteArray(Utils.unescapeHtml(Utils.stripHtmlTags(this.value, true))) : [];
|
||||
this.type = Dish.BYTE_ARRAY;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue