Updated the widget code generator to use htmlt for the HTML module.