#1714: Update hook to revert html file type