Closed akgoyal1987 closed 7 years ago
And what makes you think this isn't an upstream issue? Doesn't it happen with uglify itself?
@XhmikosR , it may be upstream issue, I didn't check, I accept that this is my fault. as I found this when I was uglifying my code using grunt-contrib-uglify, I reported it here. I will check this with uglify-js.
Thanks.
@akgoyal1987 in case this may address your issue - uglify-js
does </script>
escaping if inline_script
is enabled.
In the future please file the issue directly on https://github.com/mishoo/UglifyJS2/issues so I can notice it sooner.
closing script tag (), is changed to lower case (<\/script>) after running grunt uglify. here is the code :
and the result is :
here closing is changed to <\/script>
this is causing error in XML parsing.
this is happening only with closing SCRIPT Tag.
Please provide solution for this problem.
Thanks :) Ankit Goyal