Example #1
0
/**
 * Convert HTML characters to entities.
 *
 * The encoding specified in the application configuration file will be used.
 *
 * @param  string  $value
 * @return string
 */
function e($value)
{
    return Laravel\HTML::entities($value);
}
Example #2
0
function d($value)
{
    return Laravel\HTML::decode($value);
}