@groovymedia/easy-email-core 4.12.7 → 4.12.9

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/lib/index.es.js CHANGED
@@ -4343,7 +4343,7 @@ function BasicBlock(props) {
4343
4343
  }
4344
4344
  if (mode === "testing" && tag === "mj-image") {
4345
4345
  let url = data.attributes.src;
4346
- if (url === "" || /{{([\s\S]+?)}}/g.test(url) || /\*\|([^\|\*]+)\|\*/g.test(url)) {
4346
+ if (url === "" || /{{([\s\S]+?)}}/g.test(url) || /\*\|([^\|\*]+)\|\*/g.test(url) || /\[([^\[\]]+)\]/g.test(url)) {
4347
4347
  const adapterData = omit(params, "data.attributes.src");
4348
4348
  return /* @__PURE__ */ React.createElement(React.Fragment, null, `<${tag} ${getAdapterAttributesString(adapterData)} src="${getImg("IMAGE_59")}">`, `</${tag}>`);
4349
4349
  }