projects
/
manu
/
RT-Extension-SearchResults-XLS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
419ea50
)
Allow tabs and multilines
0.08
author
Emmanuel Lacour
<elacour@easter-eggs.com>
Wed, 12 Mar 2014 17:25:02 +0000
(18:25 +0100)
committer
Emmanuel Lacour
<elacour@easter-eggs.com>
Wed, 12 Mar 2014 17:25:02 +0000
(18:25 +0100)
html/Search/Results.xls
patch
|
blob
|
history
diff --git
a/html/Search/Results.xls
b/html/Search/Results.xls
index
785092e
..
b1eb15d
100644
(file)
--- a/
html/Search/Results.xls
+++ b/
html/Search/Results.xls
@@
-142,9
+142,7
@@
while (my $row = $Tickets->Next) {
for (@$col) {
my $val = ProcessColumnMapValue($_->{map}, Arguments => [$row, $ii++], Escape => 0);
$val = loc($val) if $_->{should_loc};
- # remove tabs from all field values, they screw up the tsv
$val = '' unless defined $val;
- $val =~ s/(?:\n|\r)//g; $val =~ s{\t}{ }g;
$val = $no_html->scrub($val);
$val = HTML::Entities::decode_entities($val);
$worksheet->write_string($ws_row, $ws_col, $val);