Updated CHtml.php Enh #2741

fixes #2741