Browse Source

Merge pull request #9473 from Dmitriymush/bug-fix/html_markdown_card

HTML/markdown changes detection on parsing invalid html string
pull/9548/head
Igor Kulikov 3 years ago
committed by GitHub
parent
commit
5947c9441d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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