aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/core/renderer/html-renderer.service.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/core/renderer/html-renderer.service.ts b/client/src/app/core/renderer/html-renderer.service.ts
index 418d8603e..d158519f8 100644
--- a/client/src/app/core/renderer/html-renderer.service.ts
+++ b/client/src/app/core/renderer/html-renderer.service.ts
@@ -1,6 +1,6 @@
1import { Injectable } from '@angular/core' 1import { Injectable } from '@angular/core'
2import { getCustomMarkupSanitizeOptions, getDefaultSanitizeOptions } from '@shared/core-utils/renderer/html'
2import { LinkifierService } from './linkifier.service' 3import { LinkifierService } from './linkifier.service'
3import { getCustomMarkupSanitizeOptions, getSanitizeOptions } from '@shared/core-utils/renderer/html'
4 4
5@Injectable() 5@Injectable()
6export class HtmlRendererService { 6export class HtmlRendererService {
@@ -30,7 +30,7 @@ export class HtmlRendererService {
30 30
31 const options = additionalAllowedTags.length !== 0 31 const options = additionalAllowedTags.length !== 0
32 ? getCustomMarkupSanitizeOptions(additionalAllowedTags) 32 ? getCustomMarkupSanitizeOptions(additionalAllowedTags)
33 : getSanitizeOptions() 33 : getDefaultSanitizeOptions()
34 34
35 return this.sanitizeHtml(html, options) 35 return this.sanitizeHtml(html, options)
36 } 36 }