From 07e2e4c33ed5475c1d601bbf2c6a47daa7f52bcd Mon Sep 17 00:00:00 2001 From: "AAVN\\pvquan" Date: Thu, 26 Dec 2024 18:18:03 +0700 Subject: [PATCH] clean up --- .../product/product-detail/product-detail.component.ts | 2 -- .../modules/release-preview/release-preview.component.html | 1 - .../modules/release-preview/release-preview.component.ts | 6 +++--- .../app/modules/release-preview/release-preview.service.ts | 2 +- marketplace-ui/src/assets/i18n/en.yaml | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail.component.ts b/marketplace-ui/src/app/modules/product/product-detail/product-detail.component.ts index 8999824e..cc08768e 100644 --- a/marketplace-ui/src/app/modules/product/product-detail/product-detail.component.ts +++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail.component.ts @@ -6,7 +6,6 @@ import { Component, ElementRef, HostListener, - SecurityContext, Signal, WritableSignal, computed, @@ -462,7 +461,6 @@ export class ProductDetailComponent { md.use(MarkdownItGitHubAlerts); md.use(full); // Add emoji support const result = md.render(value); - this.sanitizer.sanitize(SecurityContext.HTML, result); return this.sanitizer.bypassSecurityTrustHtml(result); } } diff --git a/marketplace-ui/src/app/modules/release-preview/release-preview.component.html b/marketplace-ui/src/app/modules/release-preview/release-preview.component.html index a97aac52..7c74bf47 100644 --- a/marketplace-ui/src/app/modules/release-preview/release-preview.component.html +++ b/marketplace-ui/src/app/modules/release-preview/release-preview.component.html @@ -10,7 +10,6 @@

-