X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FTemplate%2FPlugin%2FKiviLatex.pm;h=ca40971ce11a8657bf826763249daa4aed657951;hb=51d553bdcd32f60634b00c9d4c90f023035e7707;hp=6683574fef9f626efefd9e088894d031e3d66885;hpb=e40b72029aba6fccad525c69e8af00c057fa5b1b;p=kivitendo-erp.git 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 '<') {