literal-html.ts 257 B

123456789101112131415
  1. export const LINE_BREAK = /\r?\n/;
  2. export const PHRASE_PARENTS = new Set([
  3. 'paragraph',
  4. 'heading',
  5. 'emphasis',
  6. 'strong',
  7. 'delete',
  8. 'link',
  9. 'linkReference',
  10. 'tableCell'
  11. ]);
  12. export const NBSP = '\u00a0';
  13. export const TAB_AS_SPACES = NBSP.repeat(4);