private function mergeAttribute($attributes, $raw)
    {
        $parts                   = explode('=', $raw);
        list($name, $value)      = count($parts) === 1 ? array($parts[0], $parts[0]) : $parts;
        $attributes[trim($name)] = html_entity_decode($this->dequote(trim($value)), ENT_QUOTES);

        return $attributes;
    }