Microweber\Utils\lib\XSSSecurity::decodeEntity PHP Method

decodeEntity() protected method

HTML entity decode callback.
protected decodeEntity ( array $match ) : string
$match array
return string
    protected function decodeEntity($match)
    {
        $hash = $this->xssHash();
        $match = preg_replace('|\\&([a-z\\_0-9\\-]+)\\=([a-z\\_0-9\\-/]+)|i', $hash . '\\1=\\2', $match[0]);
        return str_replace($hash, '&', $this->entityDecode($match));
    }