projects
/
p5sagit/Excel-Template.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
r13918@rob-kinyons-powerbook58: rob | 2006-06-02 10:04:04 -0400
[p5sagit/Excel-Template.git]
/
lib
/
Excel
/
Template
/
Element
/
Cell.pm
diff --git
a/lib/Excel/Template/Element/Cell.pm
b/lib/Excel/Template/Element/Cell.pm
index
3e5bb3c
..
9444fc3
100755
(executable)
--- a/
lib/Excel/Template/Element/Cell.pm
+++ b/
lib/Excel/Template/Element/Cell.pm
@@
-84,7
+84,7
@@
sub render
# Apply the cell width to the current column
if (my $width = $context->get($self, 'WIDTH'))
{
- $width =~ s/\D//g;
+ $width =~ s/[^\d.]//g;
$width *= 1;
if ($width > 0)
{