Added support for generating an HTML version of the report.