So when I preview that example code, it looks messed up for me, but then I updated the post and it looked fine. Then I previewed it again after the update and it still looked fine.

So I thought maybe it’s the initial preview before you publish that is messed up. So I made a new post to test it… and everything worked fine. Ugh, frustrating. Computers (and computer programs) are supposed to be deterministic… 😛

I guess it could be a multitude of things… the Blogger importer pulling in posts incorrectly, maybe it was the way I copied and pasted the code, dunno.