don't lose html preview contents; fixes #201 :bow: