updated genarate_string method to support html strings and a simple test
Merge pull request #37 from sghai/master

updated genarate_string method to support html strings