diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-20 11:04:21 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-20 11:04:21 +0100 |
commit | 3d9eaae318670986fedab257b8be344c9b43d8d5 (patch) | |
tree | 6aaa8ff8d5fd7d162e05147eb02f3175ab8c933c /client/src/app/videos/+video-watch/comment/video-comment.service.ts | |
parent | 5de8a55abce53108bc1024f1194457c6528bd11e (diff) | |
download | PeerTube-3d9eaae318670986fedab257b8be344c9b43d8d5.tar.gz PeerTube-3d9eaae318670986fedab257b8be344c9b43d8d5.tar.zst PeerTube-3d9eaae318670986fedab257b8be344c9b43d8d5.zip |
Add links support in comments
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comment.service.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment.service.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment.service.ts b/client/src/app/videos/+video-watch/comment/video-comment.service.ts index 14d32b1aa..470af1230 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.service.ts +++ b/client/src/app/videos/+video-watch/comment/video-comment.service.ts | |||
@@ -1,12 +1,14 @@ | |||
1 | import { HttpClient, HttpParams } from '@angular/common/http' | 1 | import { HttpClient, HttpParams } from '@angular/common/http' |
2 | import { Injectable } from '@angular/core' | 2 | import { Injectable } from '@angular/core' |
3 | import { lineFeedToHtml } from '@app/shared/misc/utils' | ||
4 | import { MarkdownService } from '@app/videos/shared' | ||
3 | import 'rxjs/add/operator/catch' | 5 | import 'rxjs/add/operator/catch' |
4 | import 'rxjs/add/operator/map' | 6 | import 'rxjs/add/operator/map' |
5 | import { immutableAssign, lineFeedToHtml } from '@app/shared/misc/utils' | ||
6 | import { Observable } from 'rxjs/Observable' | 7 | import { Observable } from 'rxjs/Observable' |
7 | import { ResultList } from '../../../../../../shared/models' | 8 | import { ResultList } from '../../../../../../shared/models' |
8 | import { | 9 | import { |
9 | VideoComment as VideoCommentServerModel, VideoCommentCreate, | 10 | VideoComment as VideoCommentServerModel, |
11 | VideoCommentCreate, | ||
10 | VideoCommentThreadTree | 12 | VideoCommentThreadTree |
11 | } from '../../../../../../shared/models/videos/video-comment.model' | 13 | } from '../../../../../../shared/models/videos/video-comment.model' |
12 | import { environment } from '../../../../environments/environment' | 14 | import { environment } from '../../../../environments/environment' |