Html type provider

Fixes char refs so can now handle numeric and hexadecimal refs #495