瀏覽代碼

Removes dead code

main
Eric Amodio 1 年之前
父節點
當前提交
0d2ad6bc26
共有 1 個檔案被更改,包括 0 行新增10 行删除
  1. +0
    -10
      src/annotations/autolinks.ts

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

Loading…
取消
儲存