Improve HTML rendering