diff options
author | Chocobozzz <me@florianbigard.com> | 2022-11-14 10:47:39 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-11-14 10:47:39 +0100 |
commit | 0e45e336f62a411b3c423be46d16252355c754d7 (patch) | |
tree | d26efa3db4aca580ad2c6a154dded7a0e09593bb /client/src/app/shared/shared-forms | |
parent | d91021548ed0dd3acec28722d0166bf38c67e0da (diff) | |
download | PeerTube-0e45e336f62a411b3c423be46d16252355c754d7.tar.gz PeerTube-0e45e336f62a411b3c423be46d16252355c754d7.tar.zst PeerTube-0e45e336f62a411b3c423be46d16252355c754d7.zip |
Fix HTML in account/channel description
Diffstat (limited to 'client/src/app/shared/shared-forms')
-rw-r--r-- | client/src/app/shared/shared-forms/markdown-textarea.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
144 | 144 | ||
145 | html = result | 145 | html = result |
146 | } else if (this.markdownType === 'text') { | 146 | } else if (this.markdownType === 'text') { |
147 | html = await this.markdownService.textMarkdownToHTML(text) | 147 | html = await this.markdownService.textMarkdownToHTML({ markdown: text }) |
148 | } else { | 148 | } else { |
149 | html = await this.markdownService.enhancedMarkdownToHTML(text) | 149 | html = await this.markdownService.enhancedMarkdownToHTML({ markdown: text }) |
150 | } | 150 | } |
151 | 151 | ||
152 | if (this.markdownVideo) { | 152 | if (this.markdownVideo) { |