sass-template-common 0.3.49 → 0.3.50
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.
|
@@ -9485,7 +9485,7 @@ const $3 = (e) => {
|
|
|
9485
9485
|
const c = i[1], d = i[2] ?? "";
|
|
9486
9486
|
let l;
|
|
9487
9487
|
if (n.forEach((C) => {
|
|
9488
|
-
Array.isArray(C) && (l = C.find(
|
|
9488
|
+
console.log("element====", C, "; src====", d), Array.isArray(C) && (l = C.find(
|
|
9489
9489
|
(E) => d.replaceAll("/", "|").includes(E?.info.link.internal || "")
|
|
9490
9490
|
));
|
|
9491
9491
|
}), !l) {
|
|
@@ -9517,8 +9517,8 @@ const $3 = (e) => {
|
|
|
9517
9517
|
}
|
|
9518
9518
|
return r;
|
|
9519
9519
|
}, o0 = (e) => e.replace(/<p>(\s| )+<\/p>/g, ""), r0 = (e) => {
|
|
9520
|
-
const t =
|
|
9521
|
-
return e.replace(t, `src="${Cn()}/$1"`);
|
|
9520
|
+
const t = /\ssrc="\/(?!\/)(.*?)"/g;
|
|
9521
|
+
return e.replace(t, ` src="${Cn()}/$1"`);
|
|
9522
9522
|
}, xs = {
|
|
9523
9523
|
2: 1,
|
|
9524
9524
|
4: 2,
|