diff --git a/frontend/src/routes/@[username]/+page.svelte b/frontend/src/routes/@[username]/+page.svelte index 916c040..dbcf766 100644 --- a/frontend/src/routes/@[username]/+page.svelte +++ b/frontend/src/routes/@[username]/+page.svelte @@ -37,7 +37,7 @@ export let data: PageData; let bio: string | null; - $: bio = data.bio ? sanitizeHtml(marked.parse(data.bio)) : null; + $: bio = data.bio ? sanitizeHtml(marked.parse(data.bio, { breaks: true })) : null; let memberPage: number = 0; let memberSlice: PartialMember[] = []; diff --git a/frontend/src/routes/@[username]/[memberName]/+page.svelte b/frontend/src/routes/@[username]/[memberName]/+page.svelte index e139f3e..2c88565 100644 --- a/frontend/src/routes/@[username]/[memberName]/+page.svelte +++ b/frontend/src/routes/@[username]/[memberName]/+page.svelte @@ -16,7 +16,7 @@ export let data: PageData; let bio: string | null; - $: bio = data.bio ? sanitizeHtml(marked.parse(data.bio)) : null; + $: bio = data.bio ? sanitizeHtml(marked.parse(data.bio, { breaks: true })) : null; const favNames = data.names.filter((entry) => entry.status === WordStatus.Favourite); const favPronouns = data.pronouns.filter((entry) => entry.status === WordStatus.Favourite);