Added unscape functionality to give HTML equalent text when the renderAsHTML option is set to false.