1
0
mirror of https://github.com/shuchkin/simplexlsxgen.git synced 2023-08-10 21:12:59 +03:00

disable type detection

This commit is contained in:
Sergey Shuchkin
2020-10-04 16:08:12 +06:00
parent a551f6485b
commit a9219575df
2 changed files with 6 additions and 3 deletions

View File

@ -221,6 +221,7 @@ class SimpleXLSXGen {
if ( preg_match('/^[0-9+-.]+$/', $v ) ) { // Long ?
$cs = 7; // Align Right
}
$v = ltrim($v,"\0"); // disabled type detection
$ct = 's'; // shared string
$v = str_replace(['&','<','>'],['&amp;','&lt;','&gt;'], $v);
$cv = false;