version 1.62, 2006/02/27 00:56:47
|
version 1.63, 2006/02/27 19:36:20
|
Line 1290 sub html_editable_cell {
|
Line 1290 sub html_editable_cell {
|
} |
} |
$name = '' if (! defined($name)); |
$name = '' if (! defined($name)); |
$formula = '' if (! defined($formula)); |
$formula = '' if (! defined($formula)); |
if ($showsource) |
if ($showsource) { |
{ |
|
if (!defined($formula) || $formula =~ /^\s*$/) { |
if (!defined($formula) || $formula =~ /^\s*$/) { |
$value = '<font color="'.$bgcolor.'">#</font>'; |
$value = '<font color="'.$bgcolor.'">#</font>'; |
} else { |
} else { |
$value = &HTML::Entities::encode($formula, '<>&"'); |
$value = &HTML::Entities::encode($formula, '<>&"'); |
} |
} |
} |
} elsif (! defined($value)) { |
elsif (! defined($value)) { |
|
$value = '<font color="'.$bgcolor.'">#</font>'; |
$value = '<font color="'.$bgcolor.'">#</font>'; |
if ($formula ne '') { |
if ($formula ne '') { |
$value = '<i>undefined value</i>'; |
$value = '<i>undefined value</i>'; |