function onHTML( error, html ) {
		var wopts;
		var view;
		if ( error ) {
			debug( 'Encountered an error when converting file content to HTML: %s', error.message );
			return done( error );
		}
		debug( 'Successfully converted file content to HTML.' );

		if ( !opts.fragment ) {
			view = {
				'title': opts.title,
				'tests': opts.tests,
				'benchmarks': opts.benchmarks,
				'source': opts.source,
				'head': head,
				'prepend': prepend,
				'append': append,
				'readme': html
			};

			// debug( 'Render options: %s', JSON.stringify( view ) );
			debug( 'Rendering...' );
			html = mustache.render( template, view );
			debug( 'Finished rendering.' );
		}
		if ( out === void 0 ) {
			return done( null, html );
		}
		debug( 'Writing to file...' );
		wopts = {
			'encoding': 'utf8'
		};
		writeFile( out, html, wopts, onWrite );
	}
Callback invoked upon converting file content to HTML.

@private
@param {(Error|null)} error - error object
@param {string} html - result
@returns {void}