Commit e8fd584c authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '5868-html-is-not-escaped-in-departments-descriptions' into '1.3-dev'

Resolve "HTML is not escaped in departments descriptions"

See merge request fusiondirectory/fd!356
Showing with 1 addition and 1 deletion
+1 -1
......@@ -271,7 +271,7 @@ class baseSelector
*
* \param String $string The string which his space will be replaced
*/
function gennonbreaks($string)
function escape($string)
{
return str_replace(' ', ' ', htmlentities($string, ENT_COMPAT, 'UTF-8'));
}
......
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