aboutsummaryrefslogtreecommitdiff
path: root/src/services/html_converter/utility.service.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-07-31 12:35:48 +0300
committerHenry Jameson <me@hjkos.com>2022-07-31 12:35:48 +0300
commitfddb531ed20b31c44e6911418e7bbb884836c40a (patch)
tree37a8f9aea2002e893d605d64f8941ff1520059b6 /src/services/html_converter/utility.service.js
parent0cbfcb99a9ffaf771adbe37320bba157019f65ff (diff)
--fix
Diffstat (limited to 'src/services/html_converter/utility.service.js')
-rw-r--r--src/services/html_converter/utility.service.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/html_converter/utility.service.js b/src/services/html_converter/utility.service.js
index 4d0c36c2..583ccca5 100644
--- a/src/services/html_converter/utility.service.js
+++ b/src/services/html_converter/utility.service.js
@@ -50,7 +50,7 @@ export const processTextForEmoji = (text, emojis, processor) => {
if (char === ':') {
const next = text.slice(i + 1)
let found = false
- for (let emoji of emojis) {
+ for (const emoji of emojis) {
if (next.slice(0, emoji.shortcode.length + 1) === (emoji.shortcode + ':')) {
found = emoji
break