Export to GitHub

htmlcompressor - issue #89

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


Posted on Dec 12, 2013 by Grumpy Wombat

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?

Comment #1

Posted on Dec 12, 2013 by Grumpy Hippo

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

Status: Done

Labels:
Type-Defect Priority-Medium