Unverified Commit 98baf66a authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(core) Import htmlescape from 1.4-dev

Needed by subscriptionInfo

issue #6152
Showing with 16 additions and 0 deletions
+16 -0
......@@ -26,6 +26,22 @@
*/
require_once ("variables.inc");
/*!
* \brief Escape string for HTML output
*/
function htmlescape ($str)
{
return htmlspecialchars($str, ENT_QUOTES | ENT_HTML5, 'UTF-8');
}
/*!
* \brief Unescape string for HTML output, reverse of htmlescape
*/
function htmlunescape ($html)
{
return html_entity_decode($html, ENT_QUOTES | ENT_HTML5, 'UTF-8');
}
function html_trace($errstr = "")
{
static $hideArgs = array(
......
Supports Markdown
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