liuzhe1218 / htmlcompressor

Automatically exported from code.google.com/p/htmlcompressor
Apache License 2.0
0 stars 0 forks source link

javaScript wan't be compressed #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 T.Sick...@gmail.com on 2 Jun 2013 at 9:08