X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/e40b72029aba6fccad525c69e8af00c057fa5b1b..b5f4fac196509681df791bc5e4ee3d8c7d2a4a41:/SL/Template/Plugin/KiviLatex.pm diff --git a/SL/Template/Plugin/KiviLatex.pm b/SL/Template/Plugin/KiviLatex.pm index 6683574fe..ca40971ce 100644 --- a/SL/Template/Plugin/KiviLatex.pm +++ b/SL/Template/Plugin/KiviLatex.pm @@ -58,6 +58,7 @@ sub filter_html { $text =~ s{ \r+ }{}gx; $text =~ s{ \n+ }{ }gx; $text =~ s{ (?:\ |\s)+ }{ }gx; + $text =~ s{ |
    \s*
}{}gx; # Remove lists without items. Can happen with copy & paste from e.g. LibreOffice. my @parts = map { if (substr($_, 0, 1) eq '<') {