about summary refs log tree commit diff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/strings.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/strings.ts b/src/lib/strings.ts
index f884cc86c..480dfdcc3 100644
--- a/src/lib/strings.ts
+++ b/src/lib/strings.ts
@@ -69,6 +69,8 @@ export function extractEntities(
     while ((match = re.exec(text))) {
       if (knownHandles && !knownHandles.has(match[3])) {
         continue // not a known handle
+      } else if (!match[3].includes('.')) {
+        continue // probably not a handle
       }
       ents.push({
         type: 'mention',