Browse Source

Removes dead code

main
Eric Amodio 1 year ago
parent
commit
0d2ad6bc26
1 changed files with 0 additions and 10 deletions
  1. +0
    -10
      src/annotations/autolinks.ts

+ 0
- 10
src/annotations/autolinks.ts View File

@ -479,13 +479,3 @@ function ensureCachedRegex(ref: CacheableAutolinkReference, outputFormat: 'html'
return true; 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, '"'));
}

Loading…
Cancel
Save