fixes for post and page HTML