diff --git a/src/SimpleXLSXGen.php b/src/SimpleXLSXGen.php index 81ba49c..baab0ec 100644 --- a/src/SimpleXLSXGen.php +++ b/src/SimpleXLSXGen.php @@ -216,13 +216,13 @@ class SimpleXLSXGen { $cs = 6; // [22] m/d/yy h:mm } elseif ( mb_strlen( $v ) > 160 ) { $ct = 'inlineStr'; - $cv = str_replace(['&','<','>'],['&','<','>'], $v); + $cv = str_replace(['&','<','>',"\x03"],['&','<','>',''], $v); } else { if ( preg_match('/^[0-9+-.]+$/', $v ) ) { // Long ? $cs = 7; // Align Right } $ct = 's'; // shared string - $v = str_replace(['&','<','>'],['&','<','>'], $v); + $v = str_replace(['&','<','>',"\x03"],['&','<','>',''], $v); $cv = false; $skey = '~'.$v; if ( isset($SI_KEYS[ $skey ]) ) {