diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 4b80fee..ae2d4a8 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -2,7 +2,7 @@ import Hero from "$lib/Hero.svelte"; import sanitizeHtml from "sanitize-html"; import type { PageData } from "./$types"; - import snarkdown from 'snarkdown'; + import snarkdown from "snarkdown"; export let data: PageData; @@ -46,13 +46,15 @@ {/if} {#if data.announcements.incident.content} -

- {@html snarkdown(sanitizeHtml( - data.announcements.incident.content.replace( - /\n/g, - "
" +

+ {@html snarkdown( + sanitizeHtml( + data.announcements.incident.content.replace( + /\n/g, + "
" + ) ) - ))} + )}

{/if}