Render HTML by changing modifying site/snippets/blocks/heading.php not working (kirby 4.6.1)

Ok, but how do I achieve the result that I want? I tried

<?= html($block->text()) ?>

but with the same output of replacing <span>content</span> with &lt;span&gt;content&lt;/span&gt; (which was mentioned here Allow HTML in block headline element)

(Sorry if this may be a simple question, but I don’t really have an idea for a solution)