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/+accounts/account-video-channels | |
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/+accounts/account-video-channels')
-rw-r--r-- | client/src/app/+accounts/account-video-channels/account-video-channels.component.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts index 457a432fe..59814a93d 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts | |||
@@ -105,7 +105,11 @@ export class AccountVideoChannelsComponent implements OnInit, OnDestroy { | |||
105 | }) | 105 | }) |
106 | ) | 106 | ) |
107 | .subscribe(async ({ videoChannel, videos, total }) => { | 107 | .subscribe(async ({ videoChannel, videos, total }) => { |
108 | this.channelsDescriptionHTML[videoChannel.id] = await this.markdown.textMarkdownToHTML(videoChannel.description) | 108 | this.channelsDescriptionHTML[videoChannel.id] = await this.markdown.textMarkdownToHTML({ |
109 | markdown: videoChannel.description, | ||
110 | withEmoji: true, | ||
111 | withHtml: true | ||
112 | }) | ||
109 | 113 | ||
110 | this.videoChannels.push(videoChannel) | 114 | this.videoChannels.push(videoChannel) |
111 | 115 | ||