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:
parent
d91021548e
commit
0e45e336f6
17 changed files with 64 additions and 26 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue