changed :escape to :preserve in some cases to retain indent