Add markdown support to node descriptions

Instead of escaping all html by svelte, we should pass the node
description through the markdown parser and sanitize the parsed content.
This commit is contained in:
Matthew O'Gorman
2024-11-28 16:43:11 +01:00
committed by Sebastian Martinez
parent b21b2bae5e
commit 2075c320f3
6 changed files with 88 additions and 47 deletions
+2 -2
View File
@@ -87,8 +87,8 @@ export const configSchema = object({
pinned: object({
repositories: array(string()),
}),
imageUrl: string().optional(),
name: string().optional(),
bannerUrl: string().optional(),
avatarUrl: string().optional(),
description: string().optional(),
}),
node: nodeConfigSchema,