diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/core/renderer/html-renderer.service.ts | 4 |
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 @@ | |||
1 | import { Injectable } from '@angular/core' | 1 | import { Injectable } from '@angular/core' |
2 | import { getCustomMarkupSanitizeOptions, getDefaultSanitizeOptions } from '@shared/core-utils/renderer/html' | ||
2 | import { LinkifierService } from './linkifier.service' | 3 | import { LinkifierService } from './linkifier.service' |
3 | import { getCustomMarkupSanitizeOptions, getSanitizeOptions } from '@shared/core-utils/renderer/html' | ||
4 | 4 | ||
5 | @Injectable() | 5 | @Injectable() |
6 | export class HtmlRendererService { | 6 | export 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 | } |