From 0e45e336f62a411b3c423be46d16252355c754d7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 14 Nov 2022 10:47:39 +0100 Subject: Fix HTML in account/channel description --- client/src/app/shared/shared-custom-markup/custom-markup.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared/shared-custom-markup/custom-markup.service.ts') diff --git a/client/src/app/shared/shared-custom-markup/custom-markup.service.ts b/client/src/app/shared/shared-custom-markup/custom-markup.service.ts index d738a644e..618c3dd4f 100644 --- a/client/src/app/shared/shared-custom-markup/custom-markup.service.ts +++ b/client/src/app/shared/shared-custom-markup/custom-markup.service.ts @@ -58,7 +58,7 @@ export class CustomMarkupService { } async buildElement (text: string) { - const html = await this.markdown.customPageMarkdownToHTML(text, this.getSupportedTags()) + const html = await this.markdown.customPageMarkdownToHTML({ markdown: text, additionalAllowedTags: this.getSupportedTags() }) const rootElement = document.createElement('div') rootElement.innerHTML = html -- cgit v1.2.3