Skip to content

Commit

Permalink
Fix new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
daVitekPL committed Jun 27, 2024
1 parent fbde2d5 commit 7525d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/JSONHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static function clearJson($json): string
$json = json_encode($json);
}

$json = str_replace(['\n', '\t'], '', $json);
$json = str_replace(['\t'], '', $json);
$json = str_replace(['\"', '"'], '\'', $json);
return str_replace(['\/'], '/', $json);
}
Expand Down

0 comments on commit 7525d0b

Please sign in to comment.