mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
Dish translation now obeys UTF8 rules
This commit is contained in:
parent
4588cd151c
commit
28c83fa921
2 changed files with 11 additions and 8 deletions
|
@ -85,8 +85,8 @@ Chef.prototype.bake = async function(input, recipeConfig, options, progress, ste
|
|||
|
||||
return {
|
||||
result: this.dish.type === Dish.HTML ?
|
||||
this.dish.get(Dish.HTML) :
|
||||
this.dish.get(returnType),
|
||||
this.dish.get(Dish.HTML, !options.treatAsUtf8) :
|
||||
this.dish.get(returnType, !options.treatAsUtf8),
|
||||
type: Dish.enumLookup(this.dish.type),
|
||||
progress: progress,
|
||||
duration: new Date().getTime() - startTime,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue