From c68e2b2d223c57836e04e18105255cf0e10ae75b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 4 Feb 2022 10:31:54 +0100 Subject: Fix plaintext markdown converter --- client/src/app/core/renderer/html-renderer.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src') 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 @@ import { Injectable } from '@angular/core' +import { getCustomMarkupSanitizeOptions, getDefaultSanitizeOptions } from '@shared/core-utils/renderer/html' import { LinkifierService } from './linkifier.service' -import { getCustomMarkupSanitizeOptions, getSanitizeOptions } from '@shared/core-utils/renderer/html' @Injectable() export class HtmlRendererService { @@ -30,7 +30,7 @@ export class HtmlRendererService { const options = additionalAllowedTags.length !== 0 ? getCustomMarkupSanitizeOptions(additionalAllowedTags) - : getSanitizeOptions() + : getDefaultSanitizeOptions() return this.sanitizeHtml(html, options) } -- cgit v1.2.3