Explorar el Código

Fixes missing line breaks in hovers

main
Eric Amodio hace 2 años
padre
commit
2a5e8ab86f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/system/string.ts

+ 1
- 1
src/system/string.ts Ver fichero

@ -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) {

Cargando…
Cancelar
Guardar