mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 15:53:30 +00:00
Highlighting now works with the web worker
This commit is contained in:
@@ -54,6 +54,14 @@ Operation.prototype._parseConfig = function(operationConfig) {
|
||||
const ingredient = new Ingredient(ingredientConfig);
|
||||
this.addIngredient(ingredient);
|
||||
}
|
||||
|
||||
if (this.highlight === "func") {
|
||||
this.highlight = OpModules[this.module][`${this.name}-highlight`];
|
||||
}
|
||||
|
||||
if (this.highlightReverse === "func") {
|
||||
this.highlightReverse = OpModules[this.module][`${this.name}-highlightReverse`];
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user