|
@@ -639,7 +639,7 @@ |
|
|
block discarded – undo |
|
639
|
639
|
// The chunk_split_unicode creates a huge memory footprint when used on long strings (EG photos are base64 10MB results in > 1GB memory usage) |
|
640
|
640
|
// So check if the string is ASCII (7 bit) and if it is use the built in way RE: https://github.com/jeroendesloovere/vcard/issues/153 |
|
641
|
641
|
if ($this->is_ascii($text)) { |
|
642
|
|
- return substr(chunk_split($text, 75, "\r\n "), 0, -3); |
|
|
642
|
+ return substr(chunk_split($text, 75, "\r\n "), 0, -3); |
|
643
|
643
|
} |
|
644
|
644
|
|
|
645
|
645
|
// split, wrap and trim trailing separator |
Please login to merge, or discard this patch.