protected function decodeContent($data)
    {
        try {
            $decoded = html_entity_decode(strip_tags($data), ENT_QUOTES, 'UTF-8');

            return str_replace("\xc2\xa0", ' ', $decoded);
        } catch (\Exception $e) {
            return $data;
        }
    }
protected function decodeContent($data)
    {
        try {
            $decoded = html_entity_decode(strip_tags($data), ENT_QUOTES, 'UTF-8');

            return str_replace("\xc2\xa0", ' ', $decoded);
        } catch (\Exception $e) {
            return $data;
        }
    }
protected function decodeContent ( $ data ) { try { $ decoded = html_entity_decode ( strip_tags ( $ data ) , ENT_QUOTES , 'UTF-8' ) ; return str_replace ( "\xc2\xa0" , ' ' , $ decoded ) ; } catch ( \ Exception $ e ) { return $ data ; } }
Decode content to a readable text value.

@param string $data
@return string
Decode content to a readable text value .