rivia 0.0.107 → 0.0.108
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/index.js +10 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4684,7 +4684,16 @@ var ProductManagement = /* @__PURE__ */ function() {
|
|
|
4684
4684
|
header.style.textOverflow = "ellipsis";
|
|
4685
4685
|
header.style.fontSize = state.titleFontSize;
|
|
4686
4686
|
const content = document.createElement("div");
|
|
4687
|
-
|
|
4687
|
+
const temp = document.createElement("div");
|
|
4688
|
+
temp.innerHTML = it.text || "";
|
|
4689
|
+
temp.querySelectorAll("img").forEach((img) => img.remove());
|
|
4690
|
+
const paragraphs = temp.querySelectorAll("p");
|
|
4691
|
+
content.innerHTML = "";
|
|
4692
|
+
paragraphs.forEach((p) => {
|
|
4693
|
+
const cleanP = document.createElement("p");
|
|
4694
|
+
cleanP.textContent = p.textContent;
|
|
4695
|
+
content.appendChild(cleanP);
|
|
4696
|
+
});
|
|
4688
4697
|
content.style.display = "-webkit-box";
|
|
4689
4698
|
content.style.webkitLineClamp = "3";
|
|
4690
4699
|
content.style.webkitBoxOrient = "vertical";
|