pome-ui 2.0.0-preview39 → 2.0.0-preview40

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pome-ui",
3
- "version": "2.0.0-preview39",
3
+ "version": "2.0.0-preview40",
4
4
  "description": "Front-end MVC library",
5
5
  "main": "pome-ui.js",
6
6
  "bin": {
package/pome-ui.dev.js CHANGED
@@ -18377,7 +18377,7 @@ function build(options, exports) {
18377
18377
 
18378
18378
  return promise.then(function (template) {
18379
18379
  if (!component.template) {
18380
- component.template = template;
18380
+ component.template = _sanitizeTemplate(template);
18381
18381
  }
18382
18382
  if (component.delayOpen) {
18383
18383
  var dom = new DOMParser().parseFromString(component.template, 'text/html');
@@ -19242,7 +19242,7 @@ function build(options, exports) {
19242
19242
  instance.$app = exports;
19243
19243
  }
19244
19244
 
19245
- _opt.template = _layoutHtml;
19245
+ _opt.template = _sanitizeTemplate(_layoutHtml);
19246
19246
  _patchComponent(layout, _opt);
19247
19247
  _layoutHtml = _opt.template;
19248
19248
  var htmlBeginTagIndex = _layoutHtml.indexOf('<html');
@@ -19480,7 +19480,7 @@ function build(options, exports) {
19480
19480
  subComponentRefs = _opt.components;
19481
19481
  hookMountedAndUnmounted(_opt, c);
19482
19482
  if (!_opt.template) {
19483
- _opt.template = _html;
19483
+ _opt.template = _sanitizeTemplate(_html);
19484
19484
  }
19485
19485
  if (!_opt.setup) {
19486
19486
  _opt.setup = function () { };