X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-forms%2Fmarkdown-textarea.component.ts;h=e3371f22c7592b594f58f9e7551758020fe8a12d;hb=0e45e336f62a411b3c423be46d16252355c754d7;hp=0899918848b59a20a735c8a2d042ecd9fd30448b;hpb=83b1b7eaf1c04837f92de497e74895bee808eb83;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-forms/markdown-textarea.component.ts b/client/src/app/shared/shared-forms/markdown-textarea.component.ts index 089991884..e3371f22c 100644 --- a/client/src/app/shared/shared-forms/markdown-textarea.component.ts +++ b/client/src/app/shared/shared-forms/markdown-textarea.component.ts @@ -144,9 +144,9 @@ export class MarkdownTextareaComponent implements ControlValueAccessor, OnInit { html = result } else if (this.markdownType === 'text') { - html = await this.markdownService.textMarkdownToHTML(text) + html = await this.markdownService.textMarkdownToHTML({ markdown: text }) } else { - html = await this.markdownService.enhancedMarkdownToHTML(text) + html = await this.markdownService.enhancedMarkdownToHTML({ markdown: text }) } if (this.markdownVideo) {