in reply to Keep quotes around numerical attributes after parsing with HTML::Treebuilder?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Keep quotes around numerical attributes after parsing with HTML::Treebuilder?
by tphyahoo (Vicar) on Jul 20, 2005 at 07:56 UTC |