added htmlOptions