add options for ->html function