X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FTemplate%2FOpenDocument.pm;h=85184c01986ff6b0f9971258967af27830081f1b;hb=c4ce237aaab9c25c41334c30852d2ea640730efe;hp=085fa25dbd3e638bc7c5f060eff5ac58fcf0761c;hpb=fc2fbbca36f5ac516fdae260e9322fc3d357497c;p=kivitendo-erp.git diff --git a/SL/Template/OpenDocument.pm b/SL/Template/OpenDocument.pm index 085fa25db..85184c019 100644 --- a/SL/Template/OpenDocument.pm +++ b/SL/Template/OpenDocument.pm @@ -73,7 +73,7 @@ sub _format_html { $content =~ s{ ^

|

$ }{}gx; $content =~ s{ \r+ }{}gx; $content =~ s{ \n+ }{ }gx; - $content =~ s{ \s+ }{ }gx; + $content =~ s{ (?:\ |\s)+ }{ }gx; my $in_p = 1; my $p_start_tag = qq||;