Fix invalid content

This commit is contained in:
paulosavi 2021-10-25 13:09:04 -04:00 committed by GitHub
parent 79ffbb5e30
commit 578b4d327b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -659,6 +659,6 @@ class SimpleXLSXGen {
return $this;
}
public function esc( $str ) {
return str_replace( ['&', '<', '>', "\x03"], ['&amp;', '&lt;', '&gt;', ''], $str );
return str_replace( ['&', '<', '>', "\x03", ' '], ['&amp;', '&lt;', '&gt;', '', ''], $str );
}
}