How can I use HTML tags in a Laravel localization file?
Use {!! !!}
instead of {{ }}
to prevent escaping:
{!! trans('nav.find') !!}
Using Laravel 5.6 and above, can use the __
helper along with the blade syntax:
{!! __('pagination.next') !!}
Had to do those for the pagination blade templates.