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 <span>content</span> (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)