Broken html possible from fatal_error() (fixes #1780)

Signed-off-by: John Rayes <live627@gmail.com>