Hi.
I am using the new blocks. I have a page layout with three content areas – ‘banner’, ‘text’ and ‘cta’. In my blueprint, all three area sections are structured the same, albeit with different fieldsets. In the template, all three are set to output in the same way (e.g. <?= $page->banner()->toBlocks() ?>
). However, I am suddenly and for no apparent reason experiencing issues with special characters.
I have copied and pasted special characters into the blocks in all three areas and all was working fine until just recently. Everything looks fine in the panel and the special characters in the ‘banner’ section continue to render correctly in the front-end.
But the special characters in the ‘text’ and ‘cta’ areas are now displaying on the page as “â” or “é” depending on the block type. I have looked at the .txt files and similar characters appear in the same unicode format in all three areas (e.g. \u00a0
for an
) and yet they are not rendering the same on the page.
Why are special characters now not rendering correctly from only some blocks? Please help.
Many thanks in advance.