Looks like you pasted it in your content section while the HTML tab was active (referring to the Page/Post Editor). Try erasing that, and then click the Code tab….then paste your code in and it should show up fine.
Anytime you add code directly to your content page, make sure and hit the Code tab.