Properly escape the output for HTML.