Added support for generating html chars

Minor thing, but alphabetical ordering is preferred.