htmlescaping the cmd description is for losers
This commit is contained in:
parent
9be36e7199
commit
b56a000a40
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class HelpCommand extends Command {
|
||||||
const info = collections.info.get(command);
|
const info = collections.info.get(command);
|
||||||
// TODO: room-specific prefix
|
// TODO: room-specific prefix
|
||||||
const prefix = htmlescape(process.env.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 }
|
return { html: html }
|
||||||
}
|
}
|
||||||
if (help.categories[this.args[0].toLowerCase()]) {
|
if (help.categories[this.args[0].toLowerCase()]) {
|
||||||
|
|
Loading…
Reference in a new issue