diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-18 11:19:10 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-18 11:19:10 +0200 |
commit | 53055a1124cbc2eaeeeeef21b19b0b46e96f23c5 (patch) | |
tree | d761c9928d2568937fad9a2316f7ad2b8b223f07 /client/src/app/videos/+video-watch/video-watch.component.ts | |
parent | 4d089429fe91ab7793b9b05010acb483d61345de (diff) | |
download | PeerTube-53055a1124cbc2eaeeeeef21b19b0b46e96f23c5.tar.gz PeerTube-53055a1124cbc2eaeeeeef21b19b0b46e96f23c5.tar.zst PeerTube-53055a1124cbc2eaeeeeef21b19b0b46e96f23c5.zip |
Handle markdown in account/video channel pages
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index 6f6bd4e5d..8adf97d48 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -290,11 +290,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
290 | } | 290 | } |
291 | 291 | ||
292 | private setVideoDescriptionHTML () { | 292 | private setVideoDescriptionHTML () { |
293 | if (!this.video.description) { | ||
294 | this.videoHTMLDescription = '' | ||
295 | return | ||
296 | } | ||
297 | |||
298 | this.videoHTMLDescription = this.markdownService.textMarkdownToHTML(this.video.description) | 293 | this.videoHTMLDescription = this.markdownService.textMarkdownToHTML(this.video.description) |
299 | } | 294 | } |
300 | 295 | ||