N°1758: Fix regression on bulk transition due to filter format changes

This commit is contained in:
Stephen Abello
2018-11-14 15:25:27 +01:00
parent d344478b48
commit 798e526010
2 changed files with 11 additions and 1 deletions

View File

@@ -1427,6 +1427,16 @@ class utils
return $aPossibleEncodings;
}
/**
* Helper to encapsulation iTop's htmlentities
* @param string $sValue
* @return string
*/
static public function HtmlEntities($sValue)
{
return htmlentities($sValue, ENT_QUOTES, 'UTF-8');
}
/**
* Convert a string containing some (valid) HTML markup to plain text
* @param string $sHtml