From a96043836b9ab3b8440810ee2c0392de49b1fb7f Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Fri, 31 May 2024 18:48:47 +0530 Subject: [PATCH 1/3] fix: ignore td/th in case of atttrs had void:true --- .../utils/render/DefaultOption.java | 18 +++- .../utils/DefaultOptionTests.java | 100 ++++++++++++++++++ 2 files changed, 114 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/contentstack/utils/render/DefaultOption.java b/src/main/java/com/contentstack/utils/render/DefaultOption.java index 35dae2a..cf6ffd3 100644 --- a/src/main/java/com/contentstack/utils/render/DefaultOption.java +++ b/src/main/java/com/contentstack/utils/render/DefaultOption.java @@ -14,6 +14,7 @@ public class DefaultOption implements Option { + /** * The function `renderOptions` takes in a JSON object and metadata and returns a string based on the * style type of the metadata. @@ -153,10 +154,19 @@ public String renderNode(String nodeType, JSONObject nodeObject, NodeCallback ca return "" + cleanChildren + ""; case "tr": return "" + cleanChildren + ""; - case "th": - return "" + cleanChildren + ""; - case "td": - return "" + cleanChildren + ""; + case "th":{ + if (nodeObject.has("attrs") && nodeObject.optJSONObject("attrs").has("void") && + nodeObject.optJSONObject("attrs").optBoolean("void")) { + return ""; + }else{ + return "" + cleanChildren + "";}} + case "td":{ + if (nodeObject.has("attrs") && nodeObject.optJSONObject("attrs").has("void") && + nodeObject.optJSONObject("attrs").optBoolean("void")) { + return ""; + }else{ + return "" + cleanChildren + "";}} + case "blockquote": return "" + cleanChildren + ""; case "code": diff --git a/src/test/java/com/contentstack/utils/DefaultOptionTests.java b/src/test/java/com/contentstack/utils/DefaultOptionTests.java index c25da3b..4055e92 100644 --- a/src/test/java/com/contentstack/utils/DefaultOptionTests.java +++ b/src/test/java/com/contentstack/utils/DefaultOptionTests.java @@ -1,8 +1,12 @@ package com.contentstack.utils; import com.contentstack.utils.helper.Metadata; +import com.contentstack.utils.interfaces.NodeCallback; import com.contentstack.utils.render.DefaultOption; + + import org.json.JSONObject; +import org.json.JSONArray; import org.jsoup.nodes.Attributes; import org.junit.Assert; import org.junit.BeforeClass; @@ -10,6 +14,8 @@ import org.junit.Test; import org.junit.runners.MethodSorters; +import static org.junit.Assert.assertEquals; + import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; @@ -82,5 +88,99 @@ public void testEmbeddedDefaultDisplayable() { String result = defaultOptions.renderOptions(localJsonObj.optJSONObject("_embedded_items"), metadata); Assert.assertEquals("\"\"", result); } + @Test + public void testRenderNodeWithVoidTd() { + DefaultOption defaultOptions = new DefaultOption(); + JSONObject nodeObject = new JSONObject(); + JSONObject attrs = new JSONObject(); + attrs.put("void", true); + nodeObject.put("attrs", attrs); + nodeObject.put("children", new JSONArray()); + + NodeCallback callback = children -> { + // Simple callback implementation for testing purposes + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < children.length(); i++) { + sb.append(children.getJSONObject(i).getString("type")); + } + return sb.toString(); + }; + + String result = defaultOptions.renderNode("td", nodeObject, callback); + Assert.assertEquals("", result); + } + @Test + public void testRenderNodeWithVoidTh() { + DefaultOption defaultOptions = new DefaultOption(); + JSONObject nodeObject = new JSONObject(); + JSONObject attrs = new JSONObject(); + attrs.put("void", true); + nodeObject.put("attrs", attrs); + nodeObject.put("children", new JSONArray()); + + NodeCallback callback = children -> { + // Simple callback implementation for testing purposes + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < children.length(); i++) { + sb.append(children.getJSONObject(i).getString("type")); + } + return sb.toString(); + }; + + String result = defaultOptions.renderNode("th", nodeObject, callback); + Assert.assertEquals("", result); + } + + @Test + public void testRenderNodeWithoutVoidTd() { + DefaultOption defaultOptions = new DefaultOption(); + JSONObject nodeObject = new JSONObject(); + JSONObject attrs = new JSONObject(); + attrs.put("class", "example"); + nodeObject.put("attrs", attrs); + JSONArray children = new JSONArray(); + JSONObject child = new JSONObject(); + child.put("type", "text"); + child.put("content", "example content"); + children.put(child); + nodeObject.put("children", children); + + NodeCallback callback = childrenArray -> { + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < childrenArray.length(); i++) { + sb.append(childrenArray.getJSONObject(i).getString("content")); + } + return sb.toString(); + }; + + String result = defaultOptions.renderNode("td", nodeObject, callback); + Assert.assertEquals("example content", result); + } + + @Test + public void testRenderNodeWithoutVoidTh() { + DefaultOption defaultOptions = new DefaultOption(); + JSONObject nodeObject = new JSONObject(); + JSONObject attrs = new JSONObject(); + attrs.put("class", "example"); + nodeObject.put("attrs", attrs); + JSONArray children = new JSONArray(); + JSONObject child = new JSONObject(); + child.put("type", "text"); + child.put("content", "example content"); + children.put(child); + nodeObject.put("children", children); + + NodeCallback callback = childrenArray -> { + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < childrenArray.length(); i++) { + sb.append(childrenArray.getJSONObject(i).getString("content")); + } + return sb.toString(); + }; + + String result = defaultOptions.renderNode("th", nodeObject, callback); + Assert.assertEquals("example content", result); + } } From 6b93133cfccf3ca1db2caa234bc2c8ca9022587b Mon Sep 17 00:00:00 2001 From: Nadeem <110535104+nadeem-cs@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:02:59 +0530 Subject: [PATCH 2/3] Update Changelog.md --- Changelog.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Changelog.md b/Changelog.md index a634c69..cd73410 100644 --- a/Changelog.md +++ b/Changelog.md @@ -3,6 +3,12 @@ A brief description of what changes project contains ## May 28, 2024 +#### v1.2.11 + +- Fix: ignore td/th in case of attrs has void:true + +## May 14, 2024 + #### v1.2.10 -Enhancement: Update Asset url method added for GQL From 9ce496f45e05afeacadd850d22bd1f8096cf8dfa Mon Sep 17 00:00:00 2001 From: Nadeem <110535104+nadeem-cs@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:03:40 +0530 Subject: [PATCH 3/3] Update pom.xml --- AUTHORS.md | 6 +- SECURITY.md | 4 +- pom.xml | 10 ++-- .../com/contentstack/utils/RTEResult.java | 2 +- .../com/contentstack/utils/RTEString.java | 4 +- src/test/resources/file.json | 12 ++-- src/test/resources/issue/jsonfile.json | 8 +-- .../resources/multiple_rich_text_content.json | 8 +-- src/test/resources/reports/article2.json | 4 +- src/test/resources/reports/article3.json | 4 +- src/test/resources/reports/article4.json | 12 ++-- src/test/resources/reports/issue007.json | 56 +++++++++---------- 12 files changed, 65 insertions(+), 65 deletions(-) diff --git a/AUTHORS.md b/AUTHORS.md index 8f8453b..b28a963 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -1,5 +1,5 @@ # Authors -- [ishaileshmishra](shailesh.mishra@***REMOVED***) -- [shaileshmishra](mshaileshr@***REMOVED***) -- [admin](dev@***REMOVED***) +- [ishaileshmishra](shailesh.mishra@contentstack.com) +- [shaileshmishra](mshaileshr@contentstack.com) +- [admin](dev@contentstack.com) diff --git a/SECURITY.md b/SECURITY.md index bbdeecd..88da02e 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -8,7 +8,7 @@ If you believe you have found a security vulnerability in any Contentstack-owned **Please do not report security vulnerabilities through public GitHub issues.** -Send email to [security@***REMOVED***](mailto:security@***REMOVED***). +Send email to [security@contentstack.com](mailto:security@contentstack.com). You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. @@ -24,4 +24,4 @@ Please include the requested information listed below (as much as you can provid This information will help us triage your report more quickly. -[https://www.***REMOVED***/trust/](https://www.***REMOVED***/trust/) +[https://www.contentstack.com/trust/](https://www.contentstack.com/trust/) diff --git a/pom.xml b/pom.xml index e0a7eb2..8c00e61 100644 --- a/pom.xml +++ b/pom.xml @@ -4,11 +4,11 @@ 4.0.0 com.contentstack.sdk utils - 1.2.10 + 1.2.11 jar Contentstack-utils Java Utils SDK for Contentstack Content Delivery API, Contentstack is a headless CMS - https://www.***REMOVED*** + https://www.contentstack.com UTF-8 @@ -35,9 +35,9 @@ shaileshmishra - shailesh.mishra@***REMOVED*** + shailesh.mishra@contentstack.com contentstack - https://www.***REMOVED***/ + https://www.contentstack.com/ @@ -73,7 +73,7 @@ Contentstack. - http://***REMOVED*** + http://contentstack.com diff --git a/src/test/java/com/contentstack/utils/RTEResult.java b/src/test/java/com/contentstack/utils/RTEResult.java index 9062ea7..3b2b6e5 100644 --- a/src/test/java/com/contentstack/utils/RTEResult.java +++ b/src/test/java/com/contentstack/utils/RTEResult.java @@ -12,7 +12,7 @@ public class RTEResult { public static String kH6Html = "
Nunc porta diam vitae purus semper, ut consequat lorem vehicula.
"; public static String kOrderListHtml = "
  1. Morbi in quam molestie, fermentum diam vitae, bibendum ipsum.
  2. Pellentesque mattis lacus in quam aliquam congue
  3. Integer feugiat leo dignissim, lobortis enim vitae, mollis lectus.
  4. Sed in ante lacinia, molestie metus eu, fringilla sapien.
"; public static String kIUnorderListHtml = "
  • Sed quis metus sed mi hendrerit mollis vel et odio.
  • Integer vitae sem dignissim, elementum libero vel, fringilla massa.
  • Integer imperdiet arcu sit amet tortor faucibus aliquet.
  • Aenean scelerisque velit vitae dui vehicula, at congue massa sagittis.
"; - public static String kImgHtml = ""; + public static String kImgHtml = ""; public static String kTableHtml = "

Header 1

Header 2

Body row 1 data 1

Body row 1 data 2

Body row 2 data 1

Body row 2 data 2

"; public static String kBlockquoteHtml = "
Praesent eu ex sed nibh venenatis pretium.
"; public static String kCodeHtml = "Code template."; diff --git a/src/test/java/com/contentstack/utils/RTEString.java b/src/test/java/com/contentstack/utils/RTEString.java index 4907c64..698d12a 100644 --- a/src/test/java/com/contentstack/utils/RTEString.java +++ b/src/test/java/com/contentstack/utils/RTEString.java @@ -12,14 +12,14 @@ public class RTEString { public static String kH6Json = "{ \"uid\": \"06e34a71190849d7fcd\", \"_version\": 13, \"attrs\": { }, \"children\": [ { \"type\": \"h6\", \"attrs\": {}, \"uid\": \"c2dfa672242cfb7e2e1\", \"children\": [ { \"text\": \"Nunc porta diam vitae purus semper, ut consequat lorem vehicula.\", } ] } ], \"type\": \"doc\" }"; public static String kOrderListJson = "{ \"uid\":\"06e35 48119084 9d7fc2acd\", \"_version\":13, \"attrs\":{ }, \"children\":[{\"uid\":\"2b5b4acbb3cfce02d3e\",\"type\":\"ol\",\"children\":[{\"type\":\"li\",\"attrs\":{\"style\":{\"text-align\":\"justify\"},\"redactor-attributes\":{ }},\"uid\":\"160bbd7430b98bd3d996\",\"children\":[{\"text\":\"Morbi in quam molestie, fermentum diam vitae, bibendum ipsum.\"}]},{ \"type\":\"li\",\"attrs\":{ \"style\":{ \"text-align\":\"justify\"},\"redactor-attributes\":{ } },\"uid\":\"a15f4d749bc2903d\",\"children\":[{ \"text\":\"Pellentesque mattis lacus in quam aliquam congue\"}]},{ \"type\":\"li\",\"attrs\":{ \"style\":{ \"text-align\":\"justify\"},\"redactor-attributes\":{ } },\"uid\":\"e54224bbcb6f9e8f1e43\",\"children\":[{ \"text\":\"Integer feugiat leo dignissim, lobortis enim vitae, mollis lectus.\"}]},{ \"type\":\"li\",\"attrs\":{ \"style\":{ \"text-align\":\"justify\"},\"redactor-attributes\":{ } },\"uid\":\"c0148bab9af758784\",\"children\":[{ \"text\":\"Sed in ante lacinia, molestie metus eu, fringilla sapien.\"}]}],\"id\":\"7f413d448a\",\"attrs\":{ }}],\"type\":\"doc\"}"; public static String kUnorderListJson = "{ \"uid\":\"0e5481190849a\", \"_version\":13, \"attrs\":{ }, \"children\":[{\"uid\":\"a3a2b443ebffc867b\",\"type\":\"ul\",\"children\":[{\"uid\":\"f67354d4eed64451922\",\"type\":\"li\",\"children\":[{\"text\":\"Sed quis metus sed mi hendrerit mollis vel et odio.\"}],\"attrs\":{ }},{ \"uid\":\"5 50cba5 bea92f23e36fd1\",\"type\":\"li\",\"children\":[{ \"text\":\"Integer vitae sem dignissim, elementum libero vel, fringilla massa.\"}],\"attrs\":{ } },{ \"uid\":\"0e5c9b4cd983e8fd543\",\"type\":\"li\",\"children\":[{ \"text\":\"Integer imperdiet arcu sit amet tortor faucibus aliquet.\"}],\"attrs\":{ } },{ \"uid\":\"6d9a43a3816bd83a9a\",\"type\":\"li\",\"children\":[{ \"text\":\"Aenean scelerisque velit vitae dui vehicula, at congue massa sagittis.\"}],\"attrs\":{ } }],\"id\":\"b083fa46ef899420ab19\",\"attrs\":{ }}],\"type\":\"doc\"}"; - public static String kImgJson = "{ \"uid\":\"06e34a7a4849d7fc2acd\", \"_version\":13, \"attrs\":{ }, \"children\":[{\"uid\":\"f3be74be3b64646e626\",\"type\":\"img\",\"attrs\":{\"url\":\"images.***REMOVED***/v3/assets/UID_13/Donald.jog.png\",\"width\":33.69418132611637,\"height\":\"auto\",\"redactor-attributes\":{\"asset_uid\":\"47f1aa5ae422cd1\"}},\"children\":[{\"text\":\"\"}]}],\"type\":\"doc\"}"; + public static String kImgJson = "{ \"uid\":\"06e34a7a4849d7fc2acd\", \"_version\":13, \"attrs\":{ }, \"children\":[{\"uid\":\"f3be74be3b64646e626\",\"type\":\"img\",\"attrs\":{\"url\":\"images.contentstack.com/v3/assets/UID_13/Donald.jog.png\",\"width\":33.69418132611637,\"height\":\"auto\",\"redactor-attributes\":{\"asset_uid\":\"47f1aa5ae422cd1\"}},\"children\":[{\"text\":\"\"}]}],\"type\":\"doc\"}"; public static String kParagraphJson = "{ \"uid\":\"0d7fd\", \"_version\":13, \"attrs\":{ }, \"children\":[{\"type\":\"p\",\"attrs\":{},\"uid\":\"0a1b5676aa510e5a\",\"children\":[{\"text\":\"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed condimentum iaculis magna in vehicula. Vestibulum vitae convallis lacus. Praesent a diam iaculis turpis rhoncus faucibus. Aliquam sed pulvinar sem.\"}]}],\"type\":\"doc\"}"; public static String kBlockquoteJson = "{ \"uid\":\"06084d7fd\", \"_version\":13, \"attrs\":{ }, \"children\":[{\"uid\":\"503f9cc97534db55\",\"type\":\"blockquote\",\"id\":\"431f78e567161460\",\"children\":[{\"text\":\"Praesent eu ex sed nibh venenatis pretium.\"}],\"attrs\":{ }}],\"type\":\"doc\"}"; public static String kCodeJson = "{ \"uid\":\"06ea490849d7fc2acd\", \"_version\":13, \"attrs\":{ }, \"children\":[{\"uid\":\"83fba92c91b30002b\",\"type\":\"code\",\"attrs\":{},\"children\":[{\"text\":\"Code template.\"}]}],\"type\":\"doc\"}"; public static String kTableJson = "{ \"uid\": \"06e481190849d7fcd\", \"_version\": 13, \"attrs\": { }, \"children\": [ { \"uid\": \"6dd64343bf634bfadd4\", \"type\": \"table\", \"attrs\": { \"rows\": 4, \"cols\": 2, \"colWidths\": [ 250, 250 ] }, \"children\": [ { \"uid\": \"b9082\", \"type\": \"thead\", \"attrs\": {}, \"children\": [ { \"type\": \"tr\", \"attrs\": {}, \"children\": [ { \"type\": \"th\", \"attrs\": {}, \"children\": [ { \"type\": \"p\", \"attrs\": {}, \"children\": [ { \"text\": \"Header 1\" } ], \"uid\": \"daa3ef\" } ], \"uid\": \"4b3124414a3\" }, { \"type\": \"th\", \"attrs\": { }, \"children\": [ { \"type\": \"p\", \"attrs\": { }, \"children\": [ { \"text\": \"Header 2\" } ], \"uid\": \"eae83c5797d\" } ], \"uid\": \"bca9b6f037a04fb485\" } ], \"uid\": \"b91ae7a48ef2e9da1\" } ] }, { \"type\": \"tbody\", \"attrs\": { }, \"children\": [ { \"type\": \"tr\", \"attrs\": { }, \"children\": [ { \"type\": \"td\", \"attrs\": { }, \"children\": [ { \"type\": \"p\", \"attrs\": { }, \"children\": [ { \"text\": \"Body row 1 data 1\" } ], \"uid\": \"ec674ccc5ce70b7cab\" } ], \"uid\": \"2a70bdeeb99a\" }, { \"type\": \"td\", \"attrs\": { }, \"children\": [ { \"type\": \"p\", \"attrs\": { }, \"children\": [ { \"text\": \"Body row 1 data 2\" } ], \"uid\": \"769a 3f9db34 ce8ec 10486d50\" } ], \"uid\": \"d6407 34a5c6 1ab1e5f7d1\" } ], \"uid\": \"77f6 b951c68 7f9eb397c5\" }, { \"type\": \"tr\", \"attrs\": { }, \"children\": [ { \"type\": \"td\", \"attrs\": { }, \"children\": [ { \"type\": \"p\", \"attrs\": { }, \"children\": [ { \"text\": \"Body row 2 data 1\" } ], \"uid\": \"a6bf 11bb48 630e87d721c0\" } ], \"uid\": \"3da39838b0feaf\" }, { \"type\": \"td\", \"attrs\": { }, \"children\": [ { \"type\": \"p\", \"attrs\": { }, \"children\": [ { \"text\": \"Body row 2 data 2\" } ], \"uid\": \"3b7d12 1f694202 49029e86313\" } ], \"uid\": \"95b38b04abcbc25e94f\" } ], \"uid\": \"b 227fea 8d247013 4f1e1e8\" } ], \"uid\": \"fd5ab86aa642798451b\" } ] }, ], \"type\": \"doc\" }"; public static String kLinkInPJson = "{ \"uid\":\"06e34a7190849d7f2acd\", \"_version\":13, \"attrs\":{ }, \"children\":[{\"type\":\"p\",\"attrs\":{\"style\":{\"text-align\":\"left\"},\"redactor-attributes\":{ }},\"uid\":\"d88dcdf4590dff2d\",\"children\":[{\"text\":\"\",\"bold\":true,\"italic\":true,\"underline\":true,\"subscript\":true},{ \"uid\":\"0d06598201aa8b47\",\"type\":\"a\",\"attrs\":{ \"url\":\"LINK.com\",\"target\":\"_self\"},\"children\":[{ \"text\":\"LINK\"}]},{ \"text\":\"\"}]}],\"type\":\"doc\"}"; public static String kEmbedJson = "{ \"uid\":\"06e34a7190849d7f2acd\", \"_version\":13, \"attrs\":{ }, \"children\":[{\"uid\":\"251017315905c35d42c9\",\"type\":\"embed\",\"attrs\":{\"url\":\"https://www.youtube.com/watch?v=AOP0yARiW8U\"},\"children\":[{\"text\":\"\"}]}],\"type\":\"doc\"}"; - public static String kAssetReferenceJson = "{\"uid\":\"06e34a7 5e4 e549d \", \"_version\":1, \"attrs\":{}, \"children\":[{ \"uid\": \"4f7e33 3390a955 de10c1 c836\", \"type\":\"reference\",\"attrs\":{\"display-type\":\"display\",\"asset-uid\":\"UID_12\",\"content-type-uid\":\"sys_assets\",\"asset-link\":\"https://images.***REMOVED***/v3/assets/UID_14/11.jpg\",\"asset-name\":\"11.jpg\",\"asset-type\":\"image/jpeg\",\"type\":\"asset\",\"class-name\":\"embedded-asset\",\"width\":25.16914749661705,\"className\":\"dsd\",\"id\":\"sdf\"},\"children\":[{\"text\":\"\"}]}],\"type\":\"doc\"}"; + public static String kAssetReferenceJson = "{\"uid\":\"06e34a7 5e4 e549d \", \"_version\":1, \"attrs\":{}, \"children\":[{ \"uid\": \"4f7e33 3390a955 de10c1 c836\", \"type\":\"reference\",\"attrs\":{\"display-type\":\"display\",\"asset-uid\":\"UID_12\",\"content-type-uid\":\"sys_assets\",\"asset-link\":\"https://images.contentstack.com/v3/assets/UID_14/11.jpg\",\"asset-name\":\"11.jpg\",\"asset-type\":\"image/jpeg\",\"type\":\"asset\",\"class-name\":\"embedded-asset\",\"width\":25.16914749661705,\"className\":\"dsd\",\"id\":\"sdf\"},\"children\":[{\"text\":\"\"}]}],\"type\":\"doc\"}"; public static String kEntryReferenceBlockJson = "{ \"uid\":\"06e34a7 5e4 e549d \", \"_version\":1, \"attrs\":{ }, \"children\":[{\"uid\":\"70f9b 325075d43 128c0d0 aa3eb7f291f\",\"type\":\"reference\",\"attrs\":{\"display-type\":\"block\",\"entry-uid\":\"UID_07\",\"content-type-uid\":\"content_block\",\"locale\":\"en-us\",\"type\":\"entry\",\"class-name\":\"embedded-entry\"},\"children\":[{\"text\":\"\"}]}],\"type\":\"doc\"}"; public static String kEntryReferenceLinkJson = "{ \"uid\":\"06e34a7 5e4 e549d\", \"_version\":1, \"attrs\":{ }, \"children\":[{\"uid\":\"7626ea98e0e95d602210\",\"type\":\"reference\",\"attrs\":{\"target\":\"_self\",\"href\":\"/copy-of-entry-final-02\",\"display-type\":\"link\",\"entry-uid\":\"UID_08\",\"content-type-uid\":\"embeddedrte\",\"locale\":\"en-us\",\"type\":\"entry\",\"class-name\":\"embedded-entry\"},\"children\":[{\"text\":\"/copy-of-entry-final-02\"}]}],\"type\":\"doc\"}"; public static String kEntryReferenceInlineJson = "{ \"uid\":\"06e34a7 5e4 e549d\", \"_version\":1, \"attrs\":{ }, \"children\":[{\"uid\":\"506 4878f3f46 s21f0cbc aff\",\"type\":\"reference\",\"attrs\":{\"display-type\":\"inline\",\"entry-uid\":\"UID_09\",\"content-type-uid\":\"embeddedrte\",\"locale\":\"en-us\",\"type\":\"entry\",\"class-name\":\"embedded-entry\"},\"children\":[{\"text\":\"\"}]}],\"type\":\"doc\"}"; diff --git a/src/test/resources/file.json b/src/test/resources/file.json index f9db7c7..734c309 100644 --- a/src/test/resources/file.json +++ b/src/test/resources/file.json @@ -14,7 +14,7 @@ "display-type": "display", "asset-uid": "blt51f558a28ef555ca", "content-type-uid": "sys_assets", - "asset-link": "https://images.***REMOVED***/v3/assets/***REMOVED***/blt51f558a28ef555ca/6643371882c344cb839ec1a8/ben.jpeg", + "asset-link": "https://images.contentstack.io/v3/assets/***REMOVED***/blt51f558a28ef555ca/6643371882c344cb839ec1a8/ben.jpeg", "asset-name": "Designer.png", "asset-type": "image/jpeg", "type": "asset", @@ -47,7 +47,7 @@ { "node": { "title": "Designer.png", - "url": "https://images.***REMOVED***/v3/assets/***REMOVED***/blt51f558a28ef555ca/66545ff10258be81fc639ae5/Virginia_Woolf_Headshot.jpg", + "url": "https://images.contentstack.io/v3/assets/***REMOVED***/blt51f558a28ef555ca/66545ff10258be81fc639ae5/Virginia_Woolf_Headshot.jpg", "system": { "uid": "blt51f558a28ef555ca", "content_type_uid": "sys_assets" @@ -63,7 +63,7 @@ { "node": { "title": "W._E._B._Du_Bois_Headshot.jpg", - "url": "https://images.***REMOVED***/v3/assets/***REMOVED***/blt897c06ebf8c6353a/66545fe479abeeb60a3d4e35/Mark_Twain_Headshot.jpg", + "url": "https://images.contentstack.io/v3/assets/***REMOVED***/blt897c06ebf8c6353a/66545fe479abeeb60a3d4e35/Mark_Twain_Headshot.jpg", "system": { "content_type_uid": "sys_assets", "uid": "blt897c06ebf8c6353a" @@ -73,7 +73,7 @@ { "node": { "title": "iot-icon.png", - "url": "https://images.***REMOVED***/v3/assets/***REMOVED***/bltbd81ff2ed42f1317/6654501e466a1c9b3edecb21/iot-icon.png", + "url": "https://images.contentstack.io/v3/assets/***REMOVED***/bltbd81ff2ed42f1317/6654501e466a1c9b3edecb21/iot-icon.png", "system": { "content_type_uid": "sys_assets", "uid": "bltbd81ff2ed42f1317" @@ -94,7 +94,7 @@ "display-type": "display", "asset-uid": "blt897c06ebf8c6353a", "content-type-uid": "sys_assets", - "asset-link": "https://images.***REMOVED***/v3/assets/***REMOVED***/blt897c06ebf8c6353a/6644340e015b1c2d2b56ca48/W._E._B._Du_Bois_Headshot.jpg", + "asset-link": "https://images.contentstack.io/v3/assets/***REMOVED***/blt897c06ebf8c6353a/6644340e015b1c2d2b56ca48/W._E._B._Du_Bois_Headshot.jpg", "asset-name": "W._E._B._Du_Bois_Headshot.jpg", "asset-type": "image/jpeg", "type": "asset", @@ -126,7 +126,7 @@ "display-type": "display", "asset-uid": "bltbd81ff2ed42f1317", "content-type-uid": "sys_assets", - "asset-link": "https://images.***REMOVED***/v3/assets/***REMOVED***/bltbd81ff2ed42f1317/664425e3a3f9df03dfc0e5e6/5216292.jpg", + "asset-link": "https://images.contentstack.io/v3/assets/***REMOVED***/bltbd81ff2ed42f1317/664425e3a3f9df03dfc0e5e6/5216292.jpg", "asset-name": "iot-icon.png", "asset-type": "image/jpeg", "type": "asset", diff --git a/src/test/resources/issue/jsonfile.json b/src/test/resources/issue/jsonfile.json index 89ef2a6..0129c63 100644 --- a/src/test/resources/issue/jsonfile.json +++ b/src/test/resources/issue/jsonfile.json @@ -336,12 +336,12 @@ } ], "multi_line": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", - "rich_text_editor": "\"220px-Bastet_Istanbul_museum.JPG\"", + "rich_text_editor": "\"220px-Bastet_Istanbul_museum.JPG\"", "single_line": "Single line textbox", "suraj_123": [ { "single_line": "Multi line textbox", - "rich_text_editor": "\"220px-House_sparrow04.jpg\"", + "rich_text_editor": "\"220px-House_sparrow04.jpg\"", "markdown": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", "number": 45346346 } @@ -670,12 +670,12 @@ } ], "multi_line": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", - "rich_text_editor": "\"220px-Bastet_Istanbul_museum.JPG\"", + "rich_text_editor": "\"220px-Bastet_Istanbul_museum.JPG\"", "single_line": "Single line textbox", "suraj_123": [ { "single_line": "Multi line textbox", - "rich_text_editor": "\"220px-House_sparrow04.jpg\"", + "rich_text_editor": "\"220px-House_sparrow04.jpg\"", "markdown": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", "number": 45346346 } diff --git a/src/test/resources/multiple_rich_text_content.json b/src/test/resources/multiple_rich_text_content.json index 5caad6e..cdbbd78 100644 --- a/src/test/resources/multiple_rich_text_content.json +++ b/src/test/resources/multiple_rich_text_content.json @@ -282,11 +282,11 @@ } }], "multi_line": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", - "rich_text_editor": "\"220px-Bastet_Istanbul_museum.JPG\"", + "rich_text_editor": "\"220px-Bastet_Istanbul_museum.JPG\"", "single_line": "Single line textbox", "suraj_123": [{ "single_line": "Multi line textbox", - "rich_text_editor": "\"220px-House_sparrow04.jpg\"", + "rich_text_editor": "\"220px-House_sparrow04.jpg\"", "markdown": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", "number": 45346346 @@ -586,11 +586,11 @@ } }], "multi_line": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", - "rich_text_editor": "\"220px-Bastet_Istanbul_museum.JPG\"", + "rich_text_editor": "\"220px-Bastet_Istanbul_museum.JPG\"", "single_line": "Single line textbox", "suraj_123": [{ "single_line": "Multi line textbox", - "rich_text_editor": "\"220px-House_sparrow04.jpg\"", + "rich_text_editor": "\"220px-House_sparrow04.jpg\"", "markdown": "Multi line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textboxMulti line textbox", "number": 45346346 diff --git a/src/test/resources/reports/article2.json b/src/test/resources/reports/article2.json index 2ae41a8..f171228 100644 --- a/src/test/resources/reports/article2.json +++ b/src/test/resources/reports/article2.json @@ -1444,7 +1444,7 @@ "display-type": "display", "asset-uid": "blt1e8458b798a67cf5", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt1e8458b798a67cf5/650b78874f22f8000d8c82e5/couldnt_submit_shipment.png", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt1e8458b798a67cf5/650b78874f22f8000d8c82e5/couldnt_submit_shipment.png", "asset-name": "couldnt_submit_shipment.png", "asset-type": "image/png", "type": "asset", @@ -1597,7 +1597,7 @@ "file_size": "97657", "tags": [], "filename": "couldnt_submit_shipment.png", - "url": "***REMOVED***/v3/assets/***REMOVED***/blt1e8458b798a67cf5/650b78874f22f8000d8c82e5/couldnt_submit_shipment.png", + "url": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt1e8458b798a67cf5/650b78874f22f8000d8c82e5/couldnt_submit_shipment.png", "ACL": [], "parent_uid": "blt7c541342b35c3564", "_version": 1, diff --git a/src/test/resources/reports/article3.json b/src/test/resources/reports/article3.json index 0234e59..a4cec22 100644 --- a/src/test/resources/reports/article3.json +++ b/src/test/resources/reports/article3.json @@ -546,7 +546,7 @@ "display-type": "display", "asset-uid": "blt80fc6f2ccca9406a", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt80fc6f2ccca9406a/64fa50d5b979ea000d97a176/Big_and_Bulky.png", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt80fc6f2ccca9406a/64fa50d5b979ea000d97a176/Big_and_Bulky.png", "asset-name": "Big_and_Bulky.png", "asset-type": "image/png", "type": "asset", @@ -1935,7 +1935,7 @@ "file_size": "136896", "tags": [], "filename": "Big_and_Bulky.png", - "url": "***REMOVED***/v3/assets/***REMOVED***/blt80fc6f2ccca9406a/64fa50d5b979ea000d97a176/Big_and_Bulky.png", + "url": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt80fc6f2ccca9406a/64fa50d5b979ea000d97a176/Big_and_Bulky.png", "ACL": [], "parent_uid": "blt7fdffe41992d7f16", "_version": 1, diff --git a/src/test/resources/reports/article4.json b/src/test/resources/reports/article4.json index 27bf23b..bc1b83e 100644 --- a/src/test/resources/reports/article4.json +++ b/src/test/resources/reports/article4.json @@ -765,7 +765,7 @@ "display-type": "display", "asset-uid": "blt759bd3ebb372f518", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt759bd3ebb372f518/6500d116a39049000db76491/Image_1.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt759bd3ebb372f518/6500d116a39049000db76491/Image_1.jpeg", "asset-name": "Image_1.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -867,7 +867,7 @@ "display-type": "display", "asset-uid": "blta55d379a7c380155", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blta55d379a7c380155/6500d116a39049000db7648d/Image_2.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blta55d379a7c380155/6500d116a39049000db7648d/Image_2.jpeg", "asset-name": "Image_2.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -973,7 +973,7 @@ "display-type": "display", "asset-uid": "blt691bf4de7736a124", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt691bf4de7736a124/6500d117103154000dae6bd7/Image_3.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt691bf4de7736a124/6500d117103154000dae6bd7/Image_3.jpeg", "asset-name": "Image_3.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -1256,7 +1256,7 @@ "file_size": "370751", "tags": [], "filename": "Image_1.jpeg", - "url": "***REMOVED***/v3/assets/***REMOVED***/blt759bd3ebb372f518/6500d116a39049000db76491/Image_1.jpeg", + "url": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt759bd3ebb372f518/6500d116a39049000db76491/Image_1.jpeg", "ACL": [], "parent_uid": "bltecb4c7ac7cba49cf", "_version": 1, @@ -1282,7 +1282,7 @@ "file_size": "432469", "tags": [], "filename": "Image_2.jpeg", - "url": "***REMOVED***/v3/assets/***REMOVED***/blta55d379a7c380155/6500d116a39049000db7648d/Image_2.jpeg", + "url": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blta55d379a7c380155/6500d116a39049000db7648d/Image_2.jpeg", "ACL": [], "parent_uid": "bltecb4c7ac7cba49cf", "_version": 1, @@ -1308,7 +1308,7 @@ "file_size": "178058", "tags": [], "filename": "Image_3.jpeg", - "url": "***REMOVED***/v3/assets/***REMOVED***/blt691bf4de7736a124/6500d117103154000dae6bd7/Image_3.jpeg", + "url": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt691bf4de7736a124/6500d117103154000dae6bd7/Image_3.jpeg", "ACL": [], "parent_uid": "bltecb4c7ac7cba49cf", "_version": 1, diff --git a/src/test/resources/reports/issue007.json b/src/test/resources/reports/issue007.json index 976653a..1c2eeb3 100644 --- a/src/test/resources/reports/issue007.json +++ b/src/test/resources/reports/issue007.json @@ -160,7 +160,7 @@ "text": " " } ], - "uid": "***REMOVED***" + "uid": "eaac147bdd274e57b9c62175cd6e9ec9" }, { "text": "" @@ -596,7 +596,7 @@ "display-type": "display", "asset-uid": "blt3ac5326ad75c23c1", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt3ac5326ad75c23c1/64ff36e00812c3000a04e7c2/7667.gif", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt3ac5326ad75c23c1/64ff36e00812c3000a04e7c2/7667.gif", "asset-name": "7667.gif", "asset-type": "image/gif", "type": "asset", @@ -696,7 +696,7 @@ "display-type": "display", "asset-uid": "blt7b78a9dd75a31b47", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt7b78a9dd75a31b47/64ff370fa39049000db760b8/rtaImage_(26).jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt7b78a9dd75a31b47/64ff370fa39049000db760b8/rtaImage_(26).jpeg", "asset-name": "rtaImage_(26).jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -856,7 +856,7 @@ "display-type": "display", "asset-uid": "blta6f1f0e7fe266d3f", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blta6f1f0e7fe266d3f/65087f426517c0000dfcb255/rtaImage_-_2023-09-18T094741.995.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blta6f1f0e7fe266d3f/65087f426517c0000dfcb255/rtaImage_-_2023-09-18T094741.995.jpeg", "asset-name": "rtaImage_-_2023-09-18T094741.995.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -956,7 +956,7 @@ "display-type": "display", "asset-uid": "bltcaa03bd408b030ea", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/bltcaa03bd408b030ea/65087f6c380e94000a18896c/rtaImage_-_2023-09-18T094828.540.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/bltcaa03bd408b030ea/65087f6c380e94000a18896c/rtaImage_-_2023-09-18T094828.540.jpeg", "asset-name": "rtaImage_-_2023-09-18T094828.540.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -1025,7 +1025,7 @@ "display-type": "display", "asset-uid": "blt37ea67f83b7296a9", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt37ea67f83b7296a9/65087faca39049000db77846/rtaImage_-_2023-09-18T094930.009.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt37ea67f83b7296a9/65087faca39049000db77846/rtaImage_-_2023-09-18T094930.009.jpeg", "asset-name": "rtaImage_-_2023-09-18T094930.009.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -1130,7 +1130,7 @@ "display-type": "display", "asset-uid": "blt9a040f6870840f3d", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt9a040f6870840f3d/65087fe6269cb7000ace3fed/rtaImage_-_2023-09-18T095028.304.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt9a040f6870840f3d/65087fe6269cb7000ace3fed/rtaImage_-_2023-09-18T095028.304.jpeg", "asset-name": "rtaImage_-_2023-09-18T095028.304.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -1457,7 +1457,7 @@ "display-type": "display", "asset-uid": "bltb9bbe5a6cd194057", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/bltb9bbe5a6cd194057/6508803fd63b5d000a9cd924/rtaImage_-_2023-09-18T095159.369.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/bltb9bbe5a6cd194057/6508803fd63b5d000a9cd924/rtaImage_-_2023-09-18T095159.369.jpeg", "asset-name": "rtaImage_-_2023-09-18T095159.369.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -1549,7 +1549,7 @@ "display-type": "display", "asset-uid": "bltecc3e6194d52b087", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/bltecc3e6194d52b087/6508806b269cb7000ace3ff1/rtaImage_-_2023-09-18T095240.404.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/bltecc3e6194d52b087/6508806b269cb7000ace3ff1/rtaImage_-_2023-09-18T095240.404.jpeg", "asset-name": "rtaImage_-_2023-09-18T095240.404.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -1625,7 +1625,7 @@ "display-type": "display", "asset-uid": "blt3e86d2491d932566", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt3e86d2491d932566/650880954f22f8000d8c7b79/rtaImage_-_2023-09-18T095319.050.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt3e86d2491d932566/650880954f22f8000d8c7b79/rtaImage_-_2023-09-18T095319.050.jpeg", "asset-name": "rtaImage_-_2023-09-18T095319.050.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -1722,7 +1722,7 @@ "display-type": "display", "asset-uid": "blta11605d23b0cbb0a", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blta11605d23b0cbb0a/650880cd103154000dae7f57/rtaImage_-_2023-09-18T095415.921.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blta11605d23b0cbb0a/650880cd103154000dae7f57/rtaImage_-_2023-09-18T095415.921.jpeg", "asset-name": "rtaImage_-_2023-09-18T095415.921.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -1805,7 +1805,7 @@ "display-type": "display", "asset-uid": "blt30e7dfc04df37f95", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt30e7dfc04df37f95/650880fc4f22f8000d8c7b82/rtaImage_-_2023-09-18T095500.557.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt30e7dfc04df37f95/650880fc4f22f8000d8c7b82/rtaImage_-_2023-09-18T095500.557.jpeg", "asset-name": "rtaImage_-_2023-09-18T095500.557.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -2025,7 +2025,7 @@ "display-type": "display", "asset-uid": "blt702e8734e2fed7c4", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt702e8734e2fed7c4/650881376517c0000dfcb263/rtaImage_-_2023-09-18T095554.987.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt702e8734e2fed7c4/650881376517c0000dfcb263/rtaImage_-_2023-09-18T095554.987.jpeg", "asset-name": "rtaImage_-_2023-09-18T095554.987.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -2250,7 +2250,7 @@ "display-type": "display", "asset-uid": "blt45bf67d4d60a48cb", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt45bf67d4d60a48cb/6508823d6517c0000dfcb26d/rtaImage_-_2023-09-18T095854.808.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt45bf67d4d60a48cb/6508823d6517c0000dfcb26d/rtaImage_-_2023-09-18T095854.808.jpeg", "asset-name": "rtaImage_-_2023-09-18T095854.808.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -2577,7 +2577,7 @@ "display-type": "display", "asset-uid": "blta657be3f26a6e6c4", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blta657be3f26a6e6c4/6508828d6517c0000dfcb272/rtaImage_-_2023-09-18T100148.041.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blta657be3f26a6e6c4/6508828d6517c0000dfcb272/rtaImage_-_2023-09-18T100148.041.jpeg", "asset-name": "rtaImage_-_2023-09-18T100148.041.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -2646,7 +2646,7 @@ "display-type": "display", "asset-uid": "blt4ecce8fc93706a60", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt4ecce8fc93706a60/650882c0a39049000db7785c/rtaImage_-_2023-09-18T100237.804.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt4ecce8fc93706a60/650882c0a39049000db7785c/rtaImage_-_2023-09-18T100237.804.jpeg", "asset-name": "rtaImage_-_2023-09-18T100237.804.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -2715,7 +2715,7 @@ "display-type": "display", "asset-uid": "blt120fa9024a2c9623", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt120fa9024a2c9623/650882e7a39049000db77860/rtaImage_-_2023-09-18T100318.987.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt120fa9024a2c9623/650882e7a39049000db77860/rtaImage_-_2023-09-18T100318.987.jpeg", "asset-name": "rtaImage_-_2023-09-18T100318.987.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -2891,7 +2891,7 @@ "display-type": "display", "asset-uid": "blt388f503810e45210", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt388f503810e45210/65088368380e94000a188980/rtaImage_-_2023-09-18T100448.348.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt388f503810e45210/65088368380e94000a188980/rtaImage_-_2023-09-18T100448.348.jpeg", "asset-name": "rtaImage_-_2023-09-18T100448.348.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -3497,7 +3497,7 @@ "display-type": "display", "asset-uid": "blt8fe8ec2de66453e4", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt8fe8ec2de66453e4/650883d26517c0000dfcb27b/rtaImage_-_2023-09-18T100703.887.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt8fe8ec2de66453e4/650883d26517c0000dfcb27b/rtaImage_-_2023-09-18T100703.887.jpeg", "asset-name": "rtaImage_-_2023-09-18T100703.887.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -3632,7 +3632,7 @@ "display-type": "display", "asset-uid": "blt886c8f2ef564ee52", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt886c8f2ef564ee52/6508840fd63b5d000a9cd935/rtaImage_-_2023-09-18T100802.800.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt886c8f2ef564ee52/6508840fd63b5d000a9cd935/rtaImage_-_2023-09-18T100802.800.jpeg", "asset-name": "rtaImage_-_2023-09-18T100802.800.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -3873,7 +3873,7 @@ "display-type": "display", "asset-uid": "bltf93c8e91f02fa09f", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/bltf93c8e91f02fa09f/65088449d63b5d000a9cd939/rtaImage_-_2023-09-18T100902.181.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/bltf93c8e91f02fa09f/65088449d63b5d000a9cd939/rtaImage_-_2023-09-18T100902.181.jpeg", "asset-name": "rtaImage_-_2023-09-18T100902.181.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -4238,7 +4238,7 @@ "display-type": "display", "asset-uid": "blte313047d7d705499", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blte313047d7d705499/65088493269cb7000ace4002/rtaImage_(27).png", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blte313047d7d705499/65088493269cb7000ace4002/rtaImage_(27).png", "asset-name": "rtaImage_(27).png", "asset-type": "image/png", "type": "asset", @@ -4498,7 +4498,7 @@ "display-type": "display", "asset-uid": "blt9757ec78b480abc5", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt9757ec78b480abc5/650884f4269cb7000ace4006/Remove_Variants_(2).png", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt9757ec78b480abc5/650884f4269cb7000ace4006/Remove_Variants_(2).png", "asset-name": "Remove_Variants_(2).png", "asset-type": "image/png", "type": "asset", @@ -4594,7 +4594,7 @@ "display-type": "display", "asset-uid": "blt5836f49fccc75730", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt5836f49fccc75730/65088535e877e9000ae88e34/rtaImage_-_2023-09-18T101306.095.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt5836f49fccc75730/65088535e877e9000ae88e34/rtaImage_-_2023-09-18T101306.095.jpeg", "asset-name": "rtaImage_-_2023-09-18T101306.095.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -4674,7 +4674,7 @@ "display-type": "display", "asset-uid": "blt7786512e2c01899a", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt7786512e2c01899a/65088560103154000dae7f6e/rtaImage_-_2023-09-18T101351.206.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt7786512e2c01899a/65088560103154000dae7f6e/rtaImage_-_2023-09-18T101351.206.jpeg", "asset-name": "rtaImage_-_2023-09-18T101351.206.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -4754,7 +4754,7 @@ "display-type": "display", "asset-uid": "blt78ff501a37adf5d6", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt78ff501a37adf5d6/650885946517c0000dfcb280/rtaImage_-_2023-09-18T101442.883.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt78ff501a37adf5d6/650885946517c0000dfcb280/rtaImage_-_2023-09-18T101442.883.jpeg", "asset-name": "rtaImage_-_2023-09-18T101442.883.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -4859,7 +4859,7 @@ "display-type": "display", "asset-uid": "blt7004615fb784971b", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blt7004615fb784971b/650885bca39049000db77869/rtaImage_-_2023-09-18T101524.314.jpeg", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blt7004615fb784971b/650885bca39049000db77869/rtaImage_-_2023-09-18T101524.314.jpeg", "asset-name": "rtaImage_-_2023-09-18T101524.314.jpeg", "asset-type": "image/jpeg", "type": "asset", @@ -4948,7 +4948,7 @@ "display-type": "display", "asset-uid": "blte644efc92e6967c3", "content-type-uid": "sys_assets", - "asset-link": "***REMOVED***/v3/assets/***REMOVED***/blte644efc92e6967c3/650885e74f22f8000d8c7b93/rtaImage_(28).png", + "asset-link": "https://***REMOVED***.contentstack.com/v3/assets/***REMOVED***/blte644efc92e6967c3/650885e74f22f8000d8c7b93/rtaImage_(28).png", "asset-name": "rtaImage_(28).png", "asset-type": "image/png", "type": "asset",