liuzhe1218 / htmlcompressor

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

how can i did not reduce spaces when it is in the input tag #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when I use html 1.5.3 as it:

<input type="hidden" name="xxx" value="aa  bb  c" />

the output is 
<input type="hidden" name="xxx" value="aa bb c" />

how can i get the output not delete spaces of  the attribute value?

any advice?

Original issue reported on code.google.com by zhaoadou on 12 Dec 2013 at 2:01

GoogleCodeExporter commented 9 years ago
You can surround the input with `<!-- {{{ --><input type="hidden" name="xxx" 
value="aa  bb  c" /><!-- }}} -->` to not compress that part.

Original comment by serg472@gmail.com on 12 Dec 2013 at 2:37