Commit d19fd5a1 by Taylor Otwell

added html::decode method.

parent 8ab33cf8
......@@ -16,6 +16,17 @@ class HTML {
}
/**
* Convert entities to HTML characters.
*
* @param string $value
* @return string
*/
public static function decode($value)
{
return html_entity_decode($value, ENT_QUOTES, Config::get('application.encoding'));
}
/**
* Generate a link to a JavaScript file.
*
* <code>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment