preserve mimetype on page edits