projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SL::HTML::Util::strip: bei unbekannten Entitäten die Entität 1:1 behalten
[kivitendo-erp.git]
/
SL
/
HTML
/
Util.pm
diff --git
a/SL/HTML/Util.pm
b/SL/HTML/Util.pm
index
0b2e630
..
72a7a7f
100644
(file)
--- a/
SL/HTML/Util.pm
+++ b/
SL/HTML/Util.pm
@@
-27,7
+27,7
@@
sub strip {
$stripper{parser}->parse($value);
$stripper{parser}->eof;
- $stripper{text} =~ s{\&([^;]+);}{ $entities{$1} }eg;
+ $stripper{text} =~ s{\&([^;]+);}{ $entities{$1}
|| "\&$1;"
}eg;
return delete $stripper{text};
}