projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DATEV::CSV Bessere wartbarer Aufruf für _format_amount
[kivitendo-erp.git]
/
SL
/
Template
/
Plugin
/
KiviLatex.pm
diff --git
a/SL/Template/Plugin/KiviLatex.pm
b/SL/Template/Plugin/KiviLatex.pm
index
6683574
..
ca40971
100644
(file)
--- 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{ \r+ }{}gx;
$text =~ s{ \n+ }{ }gx;
$text =~ s{ (?:\ |\s)+ }{ }gx;
+ $text =~ s{ <ul>\s*</ul> | <ol>\s*</ol> }{}gx; # Remove lists without items. Can happen with copy & paste from e.g. LibreOffice.
my @parts = map {
if (substr($_, 0, 1) eq '<') {
my @parts = map {
if (substr($_, 0, 1) eq '<') {