@innovastudio/contentbuilder 1.0.70 → 1.0.71
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/package.json
CHANGED
|
@@ -10838,6 +10838,13 @@ class Snippets {
|
|
|
10838
10838
|
if (snippetPathReplace[0] != '') {
|
|
10839
10839
|
var regex = new RegExp(snippetPathReplace[0], 'g');
|
|
10840
10840
|
html = html.replace(regex, snippetPathReplace[1]);
|
|
10841
|
+
|
|
10842
|
+
/* for encoded replace, change / to %2F */
|
|
10843
|
+
var slash = new RegExp('/', 'g');
|
|
10844
|
+
var snippetPathReplace_0 = snippetPathReplace[0].replace(slash, '%2F');
|
|
10845
|
+
var snippetPathReplace_1 = snippetPathReplace[1].replace(slash, '%2F');
|
|
10846
|
+
regex = new RegExp(snippetPathReplace_0, 'g');
|
|
10847
|
+
html = html.replace(regex, snippetPathReplace_1);
|
|
10841
10848
|
}
|
|
10842
10849
|
}
|
|
10843
10850
|
|