aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/shared/markdown.service.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/videos/shared/markdown.service.ts b/client/src/app/videos/shared/markdown.service.ts
index fd0330f9b..3f51a82ce 100644
--- a/client/src/app/videos/shared/markdown.service.ts
+++ b/client/src/app/videos/shared/markdown.service.ts
@@ -7,12 +7,13 @@ export class MarkdownService {
7 private markdownIt: MarkdownIt.MarkdownIt 7 private markdownIt: MarkdownIt.MarkdownIt
8 8
9 constructor () { 9 constructor () {
10 this.markdownIt = new MarkdownIt('zero', { linkify: true }) 10 this.markdownIt = new MarkdownIt('zero', { linkify: true, breaks: true })
11 .enable('linkify') 11 .enable('linkify')
12 .enable('autolink') 12 .enable('autolink')
13 .enable('emphasis') 13 .enable('emphasis')
14 .enable('link') 14 .enable('link')
15 .enable('newline') 15 .enable('newline')
16 .enable('list')
16 17
17 this.setTargetToLinks() 18 this.setTargetToLinks()
18 } 19 }