Skip to content

Commit 0d2ad6b

Browse files
committed
Removes dead code
1 parent 9736e54 commit 0d2ad6b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/annotations/autolinks.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -479,13 +479,3 @@ function ensureCachedRegex(ref: CacheableAutolinkReference, outputFormat: 'html'
479479

480480
return true;
481481
}
482-
483-
function escapeQuotesInLinkTitleMarkdown(s: string) {
484-
// Skip the first and last quotes
485-
return s.replace(/(?!^)".*?(?!$)"/g, match => match.replace(/"/g, '\\"'));
486-
}
487-
488-
function escapeQuotesInLinkTitleHtml(s: string) {
489-
// Skip the first and last quotes
490-
return s.replace(/(?!^)".*?(?!$)"/g, match => match.replace(/"/g, '"'));
491-
}

0 commit comments

Comments
 (0)