@syncfusion/ej2-base 20.1.48 → 20.1.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.
- package/CHANGELOG.md +8 -0
- package/dist/ej2-base.umd.min.js +2 -2
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +5 -3
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +1 -1
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +2 -2
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +15 -33
- package/src/template.js +1 -1
|
@@ -8765,9 +8765,11 @@ function compile$1(template, helper, ignorePrefix) {
|
|
|
8765
8765
|
var str1 = str;
|
|
8766
8766
|
for (var i=0; i < check.length; i++) {
|
|
8767
8767
|
var check1 = str.match(hrefRegex)[i].split('href=')[1];
|
|
8768
|
-
|
|
8769
|
-
|
|
8770
|
-
|
|
8768
|
+
if (check1) {
|
|
8769
|
+
var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;
|
|
8770
|
+
change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;
|
|
8771
|
+
str1 = str1.replace(check1, change);
|
|
8772
|
+
}
|
|
8771
8773
|
}
|
|
8772
8774
|
str = str.replace(str, str1);
|
|
8773
8775
|
}
|