@hmcts/ccd-case-ui-toolkit 6.13.11-welsh-release-v5 → 6.13.11-welsh-release-v7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24982,7 +24982,7 @@
24982
24982
  var MarkdownComponent = /** @class */ (function () {
24983
24983
  function MarkdownComponent() {
24984
24984
  }
24985
- MarkdownComponent.prototype.ngOnInit = function () {
24985
+ MarkdownComponent.prototype.ngOnChanges = function () {
24986
24986
  this.content = this.content.replace(/ \n/g, '<br>');
24987
24987
  };
24988
24988
  MarkdownComponent.prototype.onMarkdownClick = function (event) {
@@ -24999,7 +24999,7 @@
24999
24999
  if (rf & 1) {
25000
25000
  i0__namespace.ɵɵlistener("click", function MarkdownComponent_click_HostBindingHandler($event) { return ctx.onMarkdownClick($event); });
25001
25001
  }
25002
- }, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 3, vars: 3, consts: [[1, "markdown", 3, "innerHTML"]], template: function MarkdownComponent_Template(rf, ctx) {
25002
+ }, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [[1, "markdown", 3, "data"]], template: function MarkdownComponent_Template(rf, ctx) {
25003
25003
  if (rf & 1) {
25004
25004
  i0__namespace.ɵɵelementStart(0, "div");
25005
25005
  i0__namespace.ɵɵelement(1, "markdown", 0);
@@ -25008,7 +25008,7 @@
25008
25008
  }
25009
25009
  if (rf & 2) {
25010
25010
  i0__namespace.ɵɵadvance(1);
25011
- i0__namespace.ɵɵproperty("innerHTML", i0__namespace.ɵɵpipeBind1(2, 1, ctx.content), i0__namespace.ɵɵsanitizeHtml);
25011
+ i0__namespace.ɵɵproperty("data", i0__namespace.ɵɵpipeBind1(2, 1, ctx.content));
25012
25012
  }
25013
25013
  }, directives: [i1__namespace$5.NgxMdComponent], pipes: [CaseReferencePipe], encapsulation: 2 });
25014
25014
  (function () {