aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-instance
diff options
context:
space:
mode:
authorJoël Galeran <Jolg42@users.noreply.github.com>2023-04-05 11:12:00 +0200
committerGitHub <noreply@github.com>2023-04-05 11:12:00 +0200
commit9258e9a4a37911fc64b5faada2a7e604bd1ede1f (patch)
treec2e0a78e87597a3c740d0d08785e1e6f71357268 /client/src/app/shared/shared-instance
parent907bcfa02c64ffa7f39b272155d36548e05350a7 (diff)
downloadPeerTube-9258e9a4a37911fc64b5faada2a7e604bd1ede1f.tar.gz
PeerTube-9258e9a4a37911fc64b5faada2a7e604bd1ede1f.tar.zst
PeerTube-9258e9a4a37911fc64b5faada2a7e604bd1ede1f.zip
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"`
Diffstat (limited to 'client/src/app/shared/shared-instance')
-rw-r--r--client/src/app/shared/shared-instance/instance.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-instance/instance.service.ts b/client/src/app/shared/shared-instance/instance.service.ts
index f5b2e05db..2defffbbe 100644
--- a/client/src/app/shared/shared-instance/instance.service.ts
+++ b/client/src/app/shared/shared-instance/instance.service.ts
@@ -56,7 +56,7 @@ export class InstanceService {
56 } 56 }
57 57
58 for (const key of Object.keys(html)) { 58 for (const key of Object.keys(html)) {
59 html[key] = await this.markdownService.textMarkdownToHTML({ markdown: about.instance[key] }) 59 html[key] = await this.markdownService.enhancedMarkdownToHTML({ markdown: about.instance[key] })
60 } 60 }
61 61
62 return html 62 return html