@hmcts/ccd-case-ui-toolkit 6.13.11-welsh-form-validation-errors-v3 → 6.13.11-welsh-release-v9

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.
@@ -24983,7 +24983,7 @@
24983
24983
  var MarkdownComponent = /** @class */ (function () {
24984
24984
  function MarkdownComponent() {
24985
24985
  }
24986
- MarkdownComponent.prototype.ngOnInit = function () {
24986
+ MarkdownComponent.prototype.ngOnChanges = function () {
24987
24987
  this.content = this.content.replace(/ \n/g, '<br>');
24988
24988
  };
24989
24989
  MarkdownComponent.prototype.onMarkdownClick = function (event) {
@@ -25000,7 +25000,7 @@
25000
25000
  if (rf & 1) {
25001
25001
  i0__namespace.ɵɵlistener("click", function MarkdownComponent_click_HostBindingHandler($event) { return ctx.onMarkdownClick($event); });
25002
25002
  }
25003
- }, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 3, vars: 3, consts: [[1, "markdown", 3, "innerHTML"]], template: function MarkdownComponent_Template(rf, ctx) {
25003
+ }, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [[1, "markdown", 3, "data"]], template: function MarkdownComponent_Template(rf, ctx) {
25004
25004
  if (rf & 1) {
25005
25005
  i0__namespace.ɵɵelementStart(0, "div");
25006
25006
  i0__namespace.ɵɵelement(1, "markdown", 0);
@@ -25009,7 +25009,7 @@
25009
25009
  }
25010
25010
  if (rf & 2) {
25011
25011
  i0__namespace.ɵɵadvance(1);
25012
- i0__namespace.ɵɵproperty("innerHTML", i0__namespace.ɵɵpipeBind1(2, 1, ctx.content), i0__namespace.ɵɵsanitizeHtml);
25012
+ i0__namespace.ɵɵproperty("data", i0__namespace.ɵɵpipeBind1(2, 1, ctx.content));
25013
25013
  }
25014
25014
  }, directives: [i1__namespace$5.NgxMdComponent], pipes: [CaseReferencePipe], encapsulation: 2 });
25015
25015
  (function () {