htmlescaping the cmd description is for losers

This commit is contained in:
murm 2023-03-18 20:03:03 -04:00
parent 9be36e7199
commit b56a000a40
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class HelpCommand extends Command {
const info = collections.info.get(command);
// TODO: room-specific prefix
const prefix = htmlescape(process.env.PREFIX);
html = `<h3><ins>mrmBot Help</ins></h3><h6><code>${prefix}${command}</code></h6>${htmlescape(info.description)}`
html = `<h3><ins>mrmBot Help</ins></h3><h6><code>${prefix}${command}</code></h6>${info.description}`
return { html: html }
}
if (help.categories[this.args[0].toLowerCase()]) {