html_entity_decode

Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Convert HTML entities to their corresponding characters
html_entity_decode(string $stringint $flags ENT_QUOTES ENT_SUBSTITUTE ENT_HTML401, ?string $encoding null): string
        )->make($view$data)->render();



        return new 
HtmlString(

            
html_entity_decode(preg_replace("/[\r\n]{2,}/""\n\n"$contents), ENT_QUOTES'UTF-8')

        );

    }
            $output ob_get_clean();

            
assert(is_string($output));



            return 
strip_tags(html_entity_decode($output));

        } finally {

            
ini_set('html_errors'$html);

        }
    public static function decode($value)

    {

        return 
html_entity_decode($valueENT_QUOTESConfig::get('statamic.system.charset''UTF-8'));

    }