1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Fix HTML in account/channel description

This commit is contained in:
Chocobozzz 2022-11-14 10:47:39 +01:00
parent d91021548e
commit 0e45e336f6
No known key found for this signature in database
GPG key ID: 583A612D890159BE
17 changed files with 64 additions and 26 deletions

View file

@ -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) {