Merge branch 'master' of github.com:kivitendo/kivitendo-erp
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 2 Jun 2015 15:35:35 +0000 (17:35 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 2 Jun 2015 15:35:35 +0000 (17:35 +0200)
SL/HTML/Util.pm

index c62fd92..f68fb0a 100644 (file)
@@ -7,9 +7,11 @@ use HTML::Parser;
 
 my %stripper;
 my %entities = (
-  'lt'  => '<',
-  'gt'  => '>',
-  'amp' => '&',
+  'lt'   => '<',
+  'gt'   => '>',
+  'amp'  => '&',
+  'nbsp' => ' ',   # should be => "\x{00A0}", but this can lead to problems with
+                   # a non-visible character in csv-exports for example
 );
 
 sub strip {