瀏覽代碼

Fixes missing line breaks in hovers

main
Eric Amodio 2 年之前
父節點
當前提交
2a5e8ab86f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/system/string.ts

+ 1
- 1
src/system/string.ts 查看文件

@ -109,7 +109,7 @@ export function escapeMarkdown(s: string, options: { quoted?: boolean } = {}): s
if (!options.quoted) return s;
// Keep under the same block-quote but with line breaks
return s.replace(markdownQuotedRegex, '\t\n> ');
return s.replace(markdownQuotedRegex, '\t\\\n> ');
}
export function escapeRegex(s: string) {

Loading…
取消
儲存