Closed mort3za closed 6 years ago
Same problem here with rendering the € sign
Version 2.0.0 switched to the "jsesc" library, which is described as "generating the shortest possible valid ASCII-only output". Since templates can contain Unicode characters, I think moving to that library was a mistake, it significantly bloats the output if the templates contain a lot of non-ASCII text.
I've made a pull request https://github.com/miickel/gulp-angular-templatecache/pull/142
This will give the posibility to pass {minimal: true}
from gulp-angular-templatecache to jsesc.
merged & published #142, thanks @kityan
I just updated to version 2.0.0 and suddenly size of output became doubled because of utf8 characters escaped (All of Persian characters has converted to
\uXYZ
.Is there a way to completely disable escaping characters ( or better, specify safe range of utf8 characters) ?