aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/comment/video-comment.service.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-20 11:04:21 +0100
committerChocobozzz <me@florianbigard.com>2018-02-20 11:04:21 +0100
commit3d9eaae318670986fedab257b8be344c9b43d8d5 (patch)
tree6aaa8ff8d5fd7d162e05147eb02f3175ab8c933c /client/src/app/videos/+video-watch/comment/video-comment.service.ts
parent5de8a55abce53108bc1024f1194457c6528bd11e (diff)
downloadPeerTube-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.ts6
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 @@
1import { HttpClient, HttpParams } from '@angular/common/http' 1import { HttpClient, HttpParams } from '@angular/common/http'
2import { Injectable } from '@angular/core' 2import { Injectable } from '@angular/core'
3import { lineFeedToHtml } from '@app/shared/misc/utils'
4import { MarkdownService } from '@app/videos/shared'
3import 'rxjs/add/operator/catch' 5import 'rxjs/add/operator/catch'
4import 'rxjs/add/operator/map' 6import 'rxjs/add/operator/map'
5import { immutableAssign, lineFeedToHtml } from '@app/shared/misc/utils'
6import { Observable } from 'rxjs/Observable' 7import { Observable } from 'rxjs/Observable'
7import { ResultList } from '../../../../../../shared/models' 8import { ResultList } from '../../../../../../shared/models'
8import { 9import {
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'
12import { environment } from '../../../../environments/environment' 14import { environment } from '../../../../environments/environment'