Restricted symbols to lower-case only (#36)

This commit is contained in:
Vlyan
2022-05-05 08:59:41 +02:00
parent 1c2de655c4
commit 66f84ba9d7
3 changed files with 6 additions and 3 deletions

View File

@@ -293,7 +293,7 @@ export class HelpersL5r5e {
CONFIG.l5r5e.symbols.forEach((cfg, tag) => {
if (toSymbol) {
text = text.replace(
new RegExp(HelpersL5r5e.escapeRegExp(tag), "gi"),
new RegExp(HelpersL5r5e.escapeRegExp(tag), "g"),
`<i class="${cfg.class}" title="${game.i18n.localize(cfg.label)}"></i>`
);
} else {