Browse Source

UI: fixed HTML/markdown changes detection on parsing invalid html string

pull/9473/head
Dmitriymush 3 years ago
parent
commit
ef8f47267c
  1. 1
      ui-ngx/src/app/shared/components/markdown.component.ts

1
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();

Loading…
Cancel
Save