projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
555c7cc
)
LaTeX-Druck: Newlines nicht entfernen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 23 Jan 2018 14:55:06 +0000
(15:55 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 23 Jan 2018 15:06:34 +0000
(16:06 +0100)
SL/Template/LaTeX.pm
patch
|
blob
|
history
diff --git
a/SL/Template/LaTeX.pm
b/SL/Template/LaTeX.pm
index
da0967b
..
ba310a9
100644
(file)
--- a/
SL/Template/LaTeX.pm
+++ b/
SL/Template/LaTeX.pm
@@
-123,8
+123,8
@@
sub format_string {
// $formatters{ $self->{default_content_type} }
// $formatters{ text };
- $content =~ s{[^\p{Print}]|\p{Cf}}{}g;
- $variable =~ s{[^\p{Print}]|\p{Cf}}{}g;
+ $content =~ s{[^\p{Print}
\n
]|\p{Cf}}{}g;
+ $variable =~ s{[^\p{Print}
\n
]|\p{Cf}}{}g;
return $formatter->($self, $content, variable => $variable);
}