From b129d2577c12fc0b2f88087c072dd54423931227 Mon Sep 17 00:00:00 2001 From: Ajay Date: Fri, 18 Oct 2024 15:30:07 -0400 Subject: [PATCH] Fix emoji auto warning false positive --- src/submission/autoWarning.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/submission/autoWarning.ts b/src/submission/autoWarning.ts index 8256d1a..c7a06f2 100644 --- a/src/submission/autoWarning.ts +++ b/src/submission/autoWarning.ts @@ -88,7 +88,7 @@ const autoWarningChecks: AutoWarningCheck[] = [ error: chrome.i18n.getMessage("DeArrowEmojiWarning"), check: (title) => { return { - found: cleanEmojis(title) !== title.trim() + found: cleanEmojis(title.trim()) !== title.trim() }; }, id: "emoji"