committing the deleted HTML