1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

feat(about): render images in markdown (#5732)

* feat(about): render images in markdown

Closes https://github.com/Chocobozzz/PeerTube/issues/5710

* Update edit-instance-information.component.html

* use `markdownType="enhanced"`
This commit is contained in:
Joël Galeran 2023-04-05 11:12:00 +02:00 committed by GitHub
parent 907bcfa02c
commit 9258e9a4a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View file

@ -56,7 +56,7 @@ export class InstanceService {
}
for (const key of Object.keys(html)) {
html[key] = await this.markdownService.textMarkdownToHTML({ markdown: about.instance[key] })
html[key] = await this.markdownService.enhancedMarkdownToHTML({ markdown: about.instance[key] })
}
return html