Added support for ugly HTML output.