Added support for generating html chars

Added test for generate_html function
Merge pull request #32 from kbidarkar/add-html-support

Added support for generating html chars