mercredi 23 décembre 2015

unescaped strings inside link - Laravel

I have this line of code in Laravel

{!! Illuminate\Html\HtmlFacade::link('clients', '<i class="fa fa-circle-o"></i> Pregled klijenata') !!}

When it echoes the href, the part <i class="fa fa-circle-o"></i> is echoed like a text, but I would like it to be written as a part of html. Do you have an idea what I'm doing wrong.

Thanks in advance :)



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire