htmlcompressor icon indicating copy to clipboard operation
htmlcompressor copied to clipboard

javaScript wan't be compressed

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

What steps will reproduce the problem?

--------------------------------------
echo "<html><head><script>
    for(i=0;i<prefixes;i++) c('<>') ;
</script>
</head><body><pre></pre></body></html>" | java -jar ./htmlcompressor-1.5.3.jar 
--compress-js
--------------------------------------

What is the expected output? What do you see instead?

expected:
--------------------------------------
<html><head><script>for(i=0;i<prefixes;i++)c('<>');</script></head><body><pre></
pre></body></html>
--------------------------------------
given:
--------------------------------------
<html><head><script>
    for(i=0;i<prefixes;i++) c('<>') ;
</script>
</head><body><pre></pre></body></html>
--------------------------------------

What version of the product are you using? On what operating system?

htmlcompressor-1.5.3

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 2 Jun 2013 at 9:08

GoogleCodeExporter avatar Nov 27 '15 21:11 GoogleCodeExporter