In reply to leighstjohn.

That looks more like a plugin than a theme bug to me. I bet you have a plugin installed which is messing with the "the_content" filter.