Ver a proveniência

Removes dead code

main
Eric Amodio há 1 ano
ascendente
cometimento
0d2ad6bc26
1 ficheiros alterados com 0 adições e 10 eliminações
  1. +0
    -10
      src/annotations/autolinks.ts

+ 0
- 10
src/annotations/autolinks.ts Ver ficheiro

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

Carregando…
Cancelar
Guardar