Okipa / laravel-table

Generate tables from Eloquent models.
MIT License
532 stars 64 forks source link

Table cell content not escaped unless it's a custom value #54

Closed PaulMcRoar closed 3 years ago

PaulMcRoar commented 3 years ago

Hi,

The content of table cells isn't being escaped unless it's a custom value.

I've kept the description short because github has been crashing when trying to report issues on this project.

PaulMcRoar commented 3 years ago

(Managed to create an issue this time! :-)

I think this is in tbody.blade.php , we fall back to , on line 60

@else {!! $value !!} @endif

and I think we should have

@else {{ $value }} @endif

Okipa commented 3 years ago

Hi @PaulMcRoar, thanks for reporting this, this has been fixed here : https://github.com/Okipa/laravel-table/pull/56.

I will release this fix in a few minutes.