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:
5896615
)
SL::Template::Plugin::L::_J ums escaping von ' und \ erweitert
author
Thomas Heck
<theck@linet-services.de>
Tue, 4 Sep 2012 11:21:19 +0000
(13:21 +0200)
committer
Thomas Heck
<theck@linet-services.de>
Wed, 5 Sep 2012 12:33:27 +0000
(14:33 +0200)
SL/Template/Plugin/L.pm
patch
|
blob
|
history
diff --git
a/SL/Template/Plugin/L.pm
b/SL/Template/Plugin/L.pm
index
f90a948
..
9cf5ebb
100644
(file)
--- a/
SL/Template/Plugin/L.pm
+++ b/
SL/Template/Plugin/L.pm
@@
-28,8
+28,8
@@
sub _H {
}
sub _J {
- my $string =
"" .
shift;
- $string =~ s/
\"/\\\"
/g;
+ my $string = shift;
+ $string =~ s/
(\"|\'|\\)/\\$1
/g;
return $string;
}