replthml -> replhtml (fixing typo)