eat-js-sdk 2.6.1 → 2.6.2

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.
@@ -6851,7 +6851,7 @@ create_custom_element(
6851
6851
  true
6852
6852
  );
6853
6853
  const useRemoveRichTextHtmlTags = (htmlString) => {
6854
- return htmlString.replace(/<\/p>/g, " ").replace(/<[^>]*>/g, "").trim();
6854
+ return htmlString.replace(/<\/p>/g, " ").replace(/<[^>]*>/g, "").replace(/\[eat-eq\]([\s\S]*?)\[\/eat-eq\]/g, "$1").trim();
6855
6855
  };
6856
6856
  const { LG: SCREEN_LG, MD: SCREEN_MD } = BREAKPOINTS;
6857
6857
  const CAPTION_GAP = 16;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eat-js-sdk",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "change version": "2.6.0",
5
5
  "description": "Authoring tool frontend SDK",
6
6
  "contributors": [