mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 23:36:16 -04:00
escape only angle brackets
This commit is contained in:
parent
6d3ca3f56c
commit
12082ba3cc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue