diff --git a/src/utilities/FilterUtil.js b/src/utilities/FilterUtil.js index d8ec252..e055969 100644 --- a/src/utilities/FilterUtil.js +++ b/src/utilities/FilterUtil.js @@ -211,7 +211,7 @@ module.exports = class FilterUtility { i--; } - if (this.REGEX.link.test(words[i])) continue; + if (this.REGEX.link.test(words[i]) || !words[i]) continue; const letters = words[i].split(''); for (let j = 1; j < letters.length - 1; j++) {