X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-custom-markup%2Fcustom-markup.service.ts;h=618c3dd4fbd5ae325d8a8fb6132537ea833766a9;hb=0e45e336f62a411b3c423be46d16252355c754d7;hp=d738a644ec0f90498271eb62b2f2cdd6736e20e4;hpb=d91021548ed0dd3acec28722d0166bf38c67e0da;p=github%2FChocobozzz%2FPeerTube.git 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