diff options
Diffstat (limited to 'src/lib/strings/rich-text-detection.ts')
-rw-r--r-- | src/lib/strings/rich-text-detection.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/strings/rich-text-detection.ts b/src/lib/strings/rich-text-detection.ts index 51d09ec5d..931617cd1 100644 --- a/src/lib/strings/rich-text-detection.ts +++ b/src/lib/strings/rich-text-detection.ts @@ -27,7 +27,7 @@ export function detectLinkables(text: string): DetectedLinkable[] { matchValue = matchValue.slice(1) } - // strip ending puncuation + // strip ending punctuation if (/[.,;!?]$/.test(matchValue)) { matchValue = matchValue.slice(0, -1) } |