N°1737 - Tags HTML sanitization for display of labels

This commit is contained in:
Eric
2018-11-09 10:09:42 +01:00
parent 405b1b8e6f
commit 29df8f8f92

View File

@@ -10042,7 +10042,7 @@ class AttributeTagSet extends AttributeSet
$sHtml .= '<a'.$sLink.' class="attribute-set-item attribute-set-item-'.$sTagCode.'" data-code="'.$sTagCode.'" data-label="'.htmlentities($sTagLabel,
ENT_QUOTES, 'UTF-8').'" data-description="'.htmlentities($sTagDescription, ENT_QUOTES,
'UTF-8').'">'.$sTagLabel.'</a>';
'UTF-8').'">'.htmlentities($sTagLabel, ENT_QUOTES, 'UTF-8').'</a>';
}
else
{