projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
epic-s6g
[kivitendo-erp.git]
/
SL
/
Template
/
Excel.pm
diff --git
a/SL/Template/Excel.pm
b/SL/Template/Excel.pm
index
941dbb3
..
a590b38
100644
(file)
--- a/
SL/Template/Excel.pm
+++ b/
SL/Template/Excel.pm
@@
-48,9
+48,9
@@
sub parse {
my $contents = join("", @lines);
my @indices;
$contents =~ s%
my $contents = join("", @lines);
my @indices;
$contents =~ s%
- $self->{tag_start} [<]* (\s?) [<>\s]* ([\w\s]+) [<>\s]* $self->{tag_end}
+ ( $self->{tag_start} [<]* (\s?) [<>\s]* ([\w\s]+) [<>\s]* $self->{tag_end} )
%
%
- $self->format_vars(align_right => $
1 ne '', varstring => $2, length => length($&
), indices => \@indices)
+ $self->format_vars(align_right => $
2 ne '', varstring => $3, length => length($1
), indices => \@indices)
%egx;
if (!defined($contents)) {
%egx;
if (!defined($contents)) {