Closed mikilion closed 8 years ago
Hi @mikilion - thanks for submitting this. I will look into it!
The solution is pretty easy: just remove the comment and then minimize the code.
Still an issue if no space between the double slash and the comment ie. //this is a comment
This has been fixed with the latest release of v1.5 :+1:
The inline JavaScript code with single-line comments begin with a double forward slash (//) causes to comment the remainder of javascript code on minimized html file; e.g.:
Minified:
<script>var a; // this is a comment a = 3;</script>