mirror of
https://github.com/shuchkin/simplexlsxgen.git
synced 2023-08-10 21:12:59 +03:00
debug example
This commit is contained in:
@@ -208,10 +208,10 @@ class SimpleXLSXGen {
|
||||
$cs = 5; // [22] m/d/yy h:mm
|
||||
} elseif ( mb_strlen( $v ) > 160 ) {
|
||||
$ct = 'inlineStr';
|
||||
$cv = htmlentities( $v, ENT_QUOTES );
|
||||
$cv = str_replace(['&','<','>'],['&','<','>'], $v);
|
||||
} else {
|
||||
$ct = 's'; // shared string
|
||||
$v = htmlentities($v, ENT_QUOTES);
|
||||
$v = str_replace(['&','<','>'],['&','<','>'], $v);
|
||||
$cv = array_search( $v, $SI, true );
|
||||
if ( $cv === false ) {
|
||||
$SI[] = $v;
|
||||
|
Reference in New Issue
Block a user