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