Skip to content

Commit

Permalink
Do not remove non-breaking spaces. Fix #333
Browse files Browse the repository at this point in the history
  • Loading branch information
albig committed Feb 20, 2024
1 parent 6cbb1da commit adc83b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ICal/ICal.php
Original file line number Diff line number Diff line change
Expand Up @@ -2460,7 +2460,7 @@ protected function parseDuration($date, $duration)
*/
protected function removeUnprintableChars($data)
{
return preg_replace('/[\x00-\x1F\x7F\xA0]/u', '', $data);
return preg_replace('/[\x00-\x1F\x7F]/u', '', $data);
}

/**
Expand Down

0 comments on commit adc83b4

Please sign in to comment.