type changes

Hey Tcharlie,

This will add more sense on html or text option instead of 0 and 1 ;)
Cheers,