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, '"')); -}