I've used Laravel's pagination method but in my view it is escaping HTML
I'm trying:
{{$tags->render()}} (double brackets)
AND
{{{$tags->render()}}} (triple brackets)
..but both times I see HTML on my page:
<ul class="pagination"><li class="disabled">.... (in the source: &lt;ul class...)If I use <?php echo $tags->render(); ?>
it works fine, but I want to only use blade tags in the view if possible. Why is this happening?
I assume you're with Laravel 5, use this instead
{!! $tags->render() !!}
Use this instead:
{!! $tags->render() !!}
Edit: Ninja'd :(
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community