mirror of https://github.com/gchq/CyberChef.git
escape only angle brackets
This commit is contained in:
parent
6d3ca3f56c
commit
12082ba3cc
|
@ -396,7 +396,7 @@ class RecipeWaiter {
|
||||||
const item = document.createElement("li");
|
const item = document.createElement("li");
|
||||||
|
|
||||||
item.classList.add("operation");
|
item.classList.add("operation");
|
||||||
item.innerHTML = Utils.escapeHtml(name);
|
item.innerHTML = name.replace('>', '>', 'g').replace('<', '<', 'g');
|
||||||
this.buildRecipeOperation(item);
|
this.buildRecipeOperation(item);
|
||||||
document.getElementById("rec-list").appendChild(item);
|
document.getElementById("rec-list").appendChild(item);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue