You need to override $afterRequiredLabel
in CHtml
.
The default value is currently set to ' <span class="required">*</span>'
You will want to change it to ' <span class="required">*</span>'
You could change the Yii core, but this is not advisable. Instead, you should extend CHtml
and reference your child class moving forward.