Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
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) => {
|