Last active
June 14, 2017 11:57
-
-
Save bulfaitelo/ebc3ee89a036454d0325f4484315cd60 to your computer and use it in GitHub Desktop.
Diferença entre {{ }} e {!! !!} Blades Laravel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$new = htmlspecialchars("<a href='test'>Test</a>", ENT_QUOTES); | |
echo $new; // <a href='test'>Test</a> | |
// laravel exemplo: | |
{{ <a href='test'>Test</a> }} | |
//Retorna: | |
// <a href='test'>Test</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment