@websolutespa/payload-plugin-bowl 1.7.13 → 1.7.14

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @websolutespa/payload-plugin-bowl
2
2
 
3
+ ## 1.7.14
4
+
5
+ ### Patch Changes
6
+
7
+ - 1b93080: Modified: richTextSerializer
8
+
3
9
  ## 1.7.13
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -4897,7 +4897,7 @@ function richTextSerialize(children, includeHtmlTags = true) {
4897
4897
  case "li":
4898
4898
  return `<li>${richTextSerialize(node.children)}</li>`;
4899
4899
  case "link":
4900
- return `<a href="${(0, import_escape_html.default)(node.url)}">${richTextSerialize(node.children)}</a>`;
4900
+ return `<a href="${(0, import_escape_html.default)(node.url)}"${node.newTab ? ' target="_blank"' : ""}>${richTextSerialize(node.children)}</a>`;
4901
4901
  default:
4902
4902
  return `<p>${richTextSerialize(node.children)}</p>`;
4903
4903
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/payload-plugin-bowl",
3
- "version": "1.7.13",
3
+ "version": "1.7.14",
4
4
  "description": "Bowl PayloadCms plugin of the BOM Repository",
5
5
  "keywords": [
6
6
  "payload",