- Модуль: security
- Путь к файлу: ~/bitrix/modules/security/classes/general/html_entity.php
- Класс: CSecurityHtmlEntity
- Вызов: CSecurityHtmlEntity::decode
static function decode($string)
{
$string = preg_replace_callback("/(d+)([^d])/is", array(__CLASS__, "decodeCb"), $string);
$string = preg_replace_callback("/([da-f]+)([^da-f])/is", array(__CLASS__, "decodeCbHex"), $string);
$string = preg_replace(self::$htmlMnemonics["html"], self::$htmlMnemonics["text"],$string);
return $string;
}