While this might not be the cause, it often is, so try this:
Go to your dashboard, scroll down the page til you see, on the left, ‘Settings’. Click on Settings, then on Writing. By the ‘Formatting’ options, check the box for “WordPress should correct invalidly nested XHTML automatically”. Then go to a post, adjust one small thing and republish.