From 0d2ad6bc26a2355d18e065ce18b5b9e1dfd11b8a Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Thu, 10 Aug 2023 17:06:30 -0400 Subject: [PATCH] Removes dead code --- src/annotations/autolinks.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/annotations/autolinks.ts b/src/annotations/autolinks.ts index 741b59e..b6427c9 100644 --- a/src/annotations/autolinks.ts +++ b/src/annotations/autolinks.ts @@ -479,13 +479,3 @@ function ensureCachedRegex(ref: CacheableAutolinkReference, outputFormat: 'html' return true; } - -function escapeQuotesInLinkTitleMarkdown(s: string) { - // Skip the first and last quotes - return s.replace(/(?!^)".*?(?!$)"/g, match => match.replace(/"/g, '\\"')); -} - -function escapeQuotesInLinkTitleHtml(s: string) { - // Skip the first and last quotes - return s.replace(/(?!^)".*?(?!$)"/g, match => match.replace(/"/g, '"')); -}