We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c8fb97 commit b1779deCopy full SHA for b1779de
src/Transformers/DataArrayTransformer.php
@@ -62,7 +62,7 @@ protected function buildColumnByCollection(array $row, Collection $columns, $typ
62
protected function decodeContent($data)
63
{
64
try {
65
- $decoded = html_entity_decode(strip_tags($data), ENT_QUOTES, 'UTF-8');
+ $decoded = html_entity_decode(trim(strip_tags($data)), ENT_QUOTES, 'UTF-8');
66
67
return str_replace("\xc2\xa0", ' ', $decoded);
68
} catch (\Throwable $e) {
0 commit comments