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/app.component.ts | |
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/app.component.ts')
-rw-r--r-- | client/src/app/app.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index f2488aa59..e621ce432 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -206,7 +206,7 @@ export class AppComponent implements OnInit, AfterViewInit { | |||
206 | } | 206 | } |
207 | 207 | ||
208 | this.broadcastMessage = { | 208 | this.broadcastMessage = { |
209 | message: await this.markdownService.unsafeMarkdownToHTML(messageConfig.message, true), | 209 | message: await this.markdownService.markdownToUnsafeHTML({ markdown: messageConfig.message }), |
210 | dismissable: messageConfig.dismissable, | 210 | dismissable: messageConfig.dismissable, |
211 | class: classes[messageConfig.level] | 211 | class: classes[messageConfig.level] |
212 | } | 212 | } |