mirror of
https://github.com/gchq/CyberChef
synced 2025-12-10 05:13:23 +00:00
Merge pull request #1 from brun0ne/test-xss
different fix which does not break any tests
This commit is contained in:
@@ -396,7 +396,11 @@ class RecipeWaiter {
|
|||||||
const item = document.createElement("li");
|
const item = document.createElement("li");
|
||||||
|
|
||||||
item.classList.add("operation");
|
item.classList.add("operation");
|
||||||
item.innerHTML = name.replace(">", ">", "g").replace("<", "<", "g");
|
|
||||||
|
if (this.app.operations[name] != null) {
|
||||||
|
item.innerHTML = name;
|
||||||
|
}
|
||||||
|
|
||||||
this.buildRecipeOperation(item);
|
this.buildRecipeOperation(item);
|
||||||
document.getElementById("rec-list").appendChild(item);
|
document.getElementById("rec-list").appendChild(item);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user