@redneckz/wildless-cms-uni-blocks 0.14.199 → 0.14.200

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.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.replaceHeadingTags = void 0;
3
- const replaceHeadingTags = (html) => html.replaceAll(/<h(\d)>(.*)<\/h\d>/g, '<p class="h$1">$2</p>');
3
+ const replaceHeadingTags = (html) => html.replaceAll(/<h(\d)>(.*?)<\/h\d>/g, '<p class="h$1">$2</p>');
4
4
  exports.replaceHeadingTags = replaceHeadingTags;
5
5
  //# sourceMappingURL=replaceHeadingTags.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"replaceHeadingTags.js","sourceRoot":"","sources":["../../src/content-page-repository/replaceHeadingTags.ts"],"names":[],"mappings":";;AAAO,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE,CACjD,IAAI,CAAC,UAAU,CAAC,qBAAqB,EAAE,uBAAuB,CAAC,CAAC;AADrD,QAAA,kBAAkB,sBACmC"}
1
+ {"version":3,"file":"replaceHeadingTags.js","sourceRoot":"","sources":["../../src/content-page-repository/replaceHeadingTags.ts"],"names":[],"mappings":";;AAAO,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE,CACjD,IAAI,CAAC,UAAU,CAAC,sBAAsB,EAAE,uBAAuB,CAAC,CAAC;AADtD,QAAA,kBAAkB,sBACoC"}
@@ -1,2 +1,2 @@
1
- export const replaceHeadingTags = (html) => html.replaceAll(/<h(\d)>(.*)<\/h\d>/g, '<p class="h$1">$2</p>');
1
+ export const replaceHeadingTags = (html) => html.replaceAll(/<h(\d)>(.*?)<\/h\d>/g, '<p class="h$1">$2</p>');
2
2
  //# sourceMappingURL=replaceHeadingTags.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"replaceHeadingTags.js","sourceRoot":"","sources":["../../src/content-page-repository/replaceHeadingTags.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE,CACjD,IAAI,CAAC,UAAU,CAAC,qBAAqB,EAAE,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"replaceHeadingTags.js","sourceRoot":"","sources":["../../src/content-page-repository/replaceHeadingTags.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,EAAE,CACjD,IAAI,CAAC,UAAU,CAAC,sBAAsB,EAAE,uBAAuB,CAAC,CAAC"}
@@ -5693,7 +5693,7 @@
5693
5693
 
5694
5694
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
5695
5695
 
5696
- const packageVersion = "0.14.198";
5696
+ const packageVersion = "0.14.199";
5697
5697
 
5698
5698
  exports.Blocks = Blocks;
5699
5699
  exports.ContentPage = ContentPage;