If you look at the source to HTML::Element, this would appear to be handled by this line of code:
if ($val !~ m/^[0-9]+$/s) { # quote anything not purely numericAltering that will (for a value of "will" equivalent to five minutes poking at source code and not doing any testing whatsoever) allow you to quote any value. I might look into writing a patch and submitting it to the author at some stage.
In reply to Re: Keep quotes around numerical attributes after parsing with HTML::Treebuilder?
by dorward
in thread Keep quotes around numerical attributes after parsing with HTML::Treebuilder?
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |