saving any HTML tidying and such