html_entity_decode

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



        return new HtmlString(

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

        );

    }