From db01b7043b94d07e7e9a5131c235f0580ab967f0 Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Sun, 3 Nov 2024 10:02:44 -0500
Subject: Bare-bones multiline input

---
 ui/lib/components/Message.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'ui/lib/components/Message.svelte')

diff --git a/ui/lib/components/Message.svelte b/ui/lib/components/Message.svelte
index 0b91b66..a82318a 100644
--- a/ui/lib/components/Message.svelte
+++ b/ui/lib/components/Message.svelte
@@ -5,7 +5,7 @@
 	export let at;
 	export let body;
 
-	$: renderedBody = DOMPurify.sanitize(marked.parse(body));
+	$: renderedBody = DOMPurify.sanitize(marked.parse(body, { breaks: true }));
 
 	let scroll = (message) => {
 		message.scrollIntoView();
-- 
cgit v1.2.3

