cec-nuxt-lib 0.12.5 → 0.12.7

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cec-nuxt-lib",
3
3
  "configKey": "cec-nuxt-lib",
4
- "version": "0.12.5",
4
+ "version": "0.12.7",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
@@ -678,7 +678,7 @@ const renderer = createRenderer({
678
678
  });
679
679
  canvasHtml = getCanvas(canvas);
680
680
  canvasHtml = canvasHtml.replace(
681
- /<img src="|<caption|<table|<\/table>|<th>/g,
681
+ /<img src="|<caption|<table|<\/table>|<th>|<iframe/g,
682
682
  (match) => {
683
683
  switch (match) {
684
684
  case '<img src="':
@@ -691,6 +691,8 @@ canvasHtml = canvasHtml.replace(
691
691
  return "</table></div>";
692
692
  case "<th>":
693
693
  return '<th scope="col">';
694
+ case "<iframe":
695
+ return '<iframe referrerPolicy="strict-origin-when-cross-origin"';
694
696
  default:
695
697
  return match;
696
698
  }
@@ -350,7 +350,7 @@ onMounted(() => {
350
350
  <input
351
351
  v-model="page.searchTerms"
352
352
  @keypress.enter="doSearch"
353
- placeholder="Enter keywords"
353
+ placeholder="Search our website"
354
354
  @focus="page.searchTerms = ''"
355
355
  type="text"
356
356
  id="searchTextBox"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.12.5",
2
+ "version": "0.12.7",
3
3
  "name": "cec-nuxt-lib",
4
4
  "description": "Nuxt components and assets",
5
5
  "license": "MIT",