diff --git a/module/utils/toID.mjs b/module/utils/toID.mjs index 384ed22..312766e 100644 --- a/module/utils/toID.mjs +++ b/module/utils/toID.mjs @@ -8,6 +8,6 @@ export function toID(text) { return text .toLowerCase() - .replace(/\s/g, `_`) + .replace(/\s+/g, `_`) .replace(/\W/g, ``); };