Prevent newlines in html error reports