-
Notifications
You must be signed in to change notification settings - Fork 64
"<>=&" is compiled to "\x3c\x3e\x3d\x26" #79
Comments
IIRC this is the "trustedStrings" option. https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/CompilerOptions.java#L988 We can probably turn it on by default for the JS version. |
hmm, thanks. i'll try that...unless it's not available in the js version? FWIW the java version did also encode angle brackets but only if they were part of an html comment in a string: |
The trusted strings option is now set. Deployment has moved to https://github.com/google/closure-compiler-npm |
awesome, thanks! any idea when this will trickle down to https://www.npmjs.com/package/google-closure-compiler-js ? |
It won't. All development has moved to the main package. |
sorry, misunderstood. thanks. |
probably missing some other entities here, too. this does not happen in the Java version.
test code:
The text was updated successfully, but these errors were encountered: