From ef8f47267c6faf4d1fdca1c96b480550ab754093 Mon Sep 17 00:00:00 2001 From: Dmitriymush Date: Mon, 23 Oct 2023 18:54:22 +0300 Subject: [PATCH] UI: fixed HTML/markdown changes detection on parsing invalid html string --- ui-ngx/src/app/shared/components/markdown.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-ngx/src/app/shared/components/markdown.component.ts b/ui-ngx/src/app/shared/components/markdown.component.ts index 7936d2f51a..168242da0f 100644 --- a/ui-ngx/src/app/shared/components/markdown.component.ts +++ b/ui-ngx/src/app/shared/components/markdown.component.ts @@ -179,6 +179,7 @@ export class TbMarkdownComponent implements OnChanges { this.error = null; } catch (error) { readyObservable = this.handleError(template, error, styles); + this.cd.detectChanges(); } readyObservable.subscribe(() => { this.ready.emit();