Fix: show \r\n if description contain <br>

This commit is contained in:
Regis Houssin
2018-04-12 18:57:51 +02:00
parent bd95e5265e
commit ee61324caf

View File

@@ -831,9 +831,9 @@ class UserGroup extends CommonObject
{ {
$langs->load("users"); $langs->load("users");
$label=$langs->trans("ShowGroup"); $label=$langs->trans("ShowGroup");
$linkclose.=' alt="'.dol_escape_htmltag($label, 1).'"'; $linkclose.=' alt="'.dol_escape_htmltag($label, 1, 1).'"';
} }
$linkclose.= ' title="'.dol_escape_htmltag($label, 1).'"'; $linkclose.= ' title="'.dol_escape_htmltag($label, 1, 1).'"';
$linkclose.= ' class="classfortooltip'.($morecss?' '.$morecss:'').'"'; $linkclose.= ' class="classfortooltip'.($morecss?' '.$morecss:'').'"';
} }
/*if (! is_object($hookmanager)) /*if (! is_object($hookmanager))