From 93885114a96359d6fc06bed85dd959bed56ada4c Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Tue, 26 Apr 2022 13:06:09 +0300 Subject: [PATCH] bugfix --- src/utilities/FilterUtil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) {