aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-custom-markup/peertube-custom-tags/channel-miniature-markup.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-11-14 10:47:39 +0100
committerChocobozzz <me@florianbigard.com>2022-11-14 10:47:39 +0100
commit0e45e336f62a411b3c423be46d16252355c754d7 (patch)
treed26efa3db4aca580ad2c6a154dded7a0e09593bb /client/src/app/shared/shared-custom-markup/peertube-custom-tags/channel-miniature-markup.component.ts
parentd91021548ed0dd3acec28722d0166bf38c67e0da (diff)
downloadPeerTube-0e45e336f62a411b3c423be46d16252355c754d7.tar.gz
PeerTube-0e45e336f62a411b3c423be46d16252355c754d7.tar.zst
PeerTube-0e45e336f62a411b3c423be46d16252355c754d7.zip
Fix HTML in account/channel description
Diffstat (limited to 'client/src/app/shared/shared-custom-markup/peertube-custom-tags/channel-miniature-markup.component.ts')
-rw-r--r--client/src/app/shared/shared-custom-markup/peertube-custom-tags/channel-miniature-markup.component.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-custom-markup/peertube-custom-tags/channel-miniature-markup.component.ts b/client/src/app/shared/shared-custom-markup/peertube-custom-tags/channel-miniature-markup.component.ts
index e9c466a90..ba12b7139 100644
--- a/client/src/app/shared/shared-custom-markup/peertube-custom-tags/channel-miniature-markup.component.ts
+++ b/client/src/app/shared/shared-custom-markup/peertube-custom-tags/channel-miniature-markup.component.ts
@@ -42,7 +42,11 @@ export class ChannelMiniatureMarkupComponent implements CustomMarkupComponent, O
42 tap(channel => { 42 tap(channel => {
43 this.channel = channel 43 this.channel = channel
44 }), 44 }),
45 switchMap(() => from(this.markdown.textMarkdownToHTML(this.channel.description))), 45 switchMap(() => from(this.markdown.textMarkdownToHTML({
46 markdown: this.channel.description,
47 withEmoji: true,
48 withHtml: true
49 }))),
46 tap(html => { 50 tap(html => {
47 this.descriptionHTML = html 51 this.descriptionHTML = html
48 }), 52 }),