Revert "Added a function for handling HTML special characters"
This reverts commit b47fc6476a
.
This commit is contained in:
parent
b47fc6476a
commit
23a25b9abb
|
@ -45,19 +45,6 @@ public static function decode($value)
|
||||||
return html_entity_decode($value, ENT_QUOTES, Config::get('application.encoding'));
|
return html_entity_decode($value, ENT_QUOTES, Config::get('application.encoding'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Convert HTML special characters.
|
|
||||||
*
|
|
||||||
* The encoding specified in the application configuration file will be used.
|
|
||||||
*
|
|
||||||
* @param string $value
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public static function specialchars($value)
|
|
||||||
{
|
|
||||||
return htmlspecialchars($value, ENT_QUOTES, Config::get('application.encoding', false));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate a link to a JavaScript file.
|
* Generate a link to a JavaScript file.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue