mardi 26 mars 2019

Can not html entity decode of string in laravel5 blade view

I use Php7.0 and Laravel 5.0 and want to initiate a var in javascript on blade page.

But html_entity_decode function can not decode the special chars.

userName =  ""
console.log(userName);

I would like to see " ' < > but it gives me &quot; &#039; &lt; &gt;

While checkin in db I can see correctly.

Any ideas?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Otwr8P
via IFTTT

Aucun commentaire:

Enregistrer un commentaire