This question (Fatal error when try add snippets code on functions.php Wordpress) had HTML in it that caused the preview to display subtly different (after Complemento
) than the actual question.
I put the HTML in a code block and it worked but strange that it displays correctly (or correcter) in preview mode.