nsarrazin HF Staff commited on
Commit
3db4793
·
1 Parent(s): a06cb0c

fix: markdown breaks

Browse files
src/lib/components/chat/MarkdownRenderer.svelte CHANGED
@@ -176,6 +176,7 @@
176
  html: (html) => escapeHTML(html),
177
  },
178
  gfm: true,
 
179
  });
180
 
181
  DOMPurify.addHook("afterSanitizeAttributes", (node) => {
 
176
  html: (html) => escapeHTML(html),
177
  },
178
  gfm: true,
179
+ breaks: true,
180
  });
181
 
182
  DOMPurify.addHook("afterSanitizeAttributes", (node) => {