aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/shared/shared-main/misc/help.component.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/shared-main/misc/help.component.ts b/client/src/app/shared/shared-main/misc/help.component.ts
index 9647e05bd..76e255d99 100644
--- a/client/src/app/shared/shared-main/misc/help.component.ts
+++ b/client/src/app/shared/shared-main/misc/help.component.ts
@@ -1,6 +1,6 @@
1import { AfterContentInit, Component, ContentChildren, Input, OnChanges, OnInit, QueryList, TemplateRef } from '@angular/core' 1import { AfterContentInit, Component, ContentChildren, Input, OnChanges, OnInit, QueryList, TemplateRef } from '@angular/core'
2import { MarkdownService } from '@app/core'
3import { GlobalIconName } from '@app/shared/shared-icons' 2import { GlobalIconName } from '@app/shared/shared-icons'
3import { ENHANCED_RULES, TEXT_RULES } from '@shared/core-utils/renderer/markdown'
4import { PeerTubeTemplateDirective } from '../angular' 4import { PeerTubeTemplateDirective } from '../angular'
5 5
6@Component({ 6@Component({
@@ -60,12 +60,12 @@ export class HelpComponent implements OnInit, OnChanges, AfterContentInit {
60 60
61 private init () { 61 private init () {
62 if (this.helpType === 'markdownText') { 62 if (this.helpType === 'markdownText') {
63 this.mainHtml = this.formatMarkdownSupport(MarkdownService.TEXT_RULES) 63 this.mainHtml = this.formatMarkdownSupport(TEXT_RULES)
64 return 64 return
65 } 65 }
66 66
67 if (this.helpType === 'markdownEnhanced') { 67 if (this.helpType === 'markdownEnhanced') {
68 this.mainHtml = this.formatMarkdownSupport(MarkdownService.ENHANCED_RULES) 68 this.mainHtml = this.formatMarkdownSupport(ENHANCED_RULES)
69 return 69 return
70 } 70 }
71 } 71 }