@timardex/cluemart-shared 1.5.601 → 1.5.602
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/{chunk-Y6OS3HDB.mjs → chunk-Z2A5VC6X.mjs} +2 -2
- package/dist/chunk-Z2A5VC6X.mjs.map +1 -0
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs +1 -1
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-Y6OS3HDB.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -8532,7 +8532,7 @@ var SHARE_DESCRIPTION_SECTION_SEPARATOR = " \xB7 ";
|
|
|
8532
8532
|
var SHARE_DESCRIPTION_SECTION_BREAK = "\n\n";
|
|
8533
8533
|
var OG_DESCRIPTION_LINE_BREAK = " ";
|
|
8534
8534
|
function joinShareOgDescriptionSections(sections) {
|
|
8535
|
-
return sections.map((section) => typeof section === "string" ? section.trim() : "").filter((section) => section.length > 0).join(OG_DESCRIPTION_LINE_BREAK);
|
|
8535
|
+
return sections.map((section) => typeof section === "string" ? section.trim() : "").filter((section) => section.length > 0).map((section) => section.replace(/\n/g, OG_DESCRIPTION_LINE_BREAK)).join(OG_DESCRIPTION_LINE_BREAK);
|
|
8536
8536
|
}
|
|
8537
8537
|
function joinShareDescriptionSections(sections) {
|
|
8538
8538
|
return sections.filter((section) => Boolean(section)).join(SHARE_DESCRIPTION_SECTION_BREAK);
|