Don't be sad! Use this little form I found. It's right on the web. Thanks Kevin Smith! (I like your movies too.)
Just drop your code in there. Hit "encode". Then paste it into the "Compose" editor on Blogger. Don't put it directly in the HTML editor or it will be even more broken.