diff --git a/client/package.json b/client/package.json index ba0a318bc..efdd5711b 100644 --- a/client/package.json +++ b/client/package.json @@ -41,6 +41,7 @@ "@types/lodash-es": "^4.17.0", "@types/markdown-it": "^0.0.4", "@types/node": "^8.0.33", + "@types/sanitize-html": "^1.14.0", "@types/video.js": "6.2.0", "@types/webtorrent": "^0.98.4", "angular2-notifications": "^0.9.6", @@ -67,6 +68,7 @@ "raw-loader": "^0.5.1", "resolve-url-loader": "^2.0.0", "rxjs": "^5.4.2", + "sanitize-html": "^1.16.3", "sass-loader": "^6.0.3", "sass-resources-loader": "^1.2.1", "standard": "^10.0.0", diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.html b/client/src/app/videos/+video-watch/comment/video-comment.component.html index 4f9597607..8edd12124 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.component.html +++ b/client/src/app/videos/+video-watch/comment/video-comment.component.html @@ -6,7 +6,7 @@ {{ comment.by }}