Fixed a bug with Saving as html (it works now!)