There's also 2html in Vim, which works very well, and it's built-in: it takes a file that Vim knows how to highlight its syntax, and creates an HTML with the correct formatting.
To use it, just open the wanted file with Vim, and source the 2html script. It will open the converted file in a new buffer, which can be saved. Here:
vim example.diff
and then in Vim,
:so /usr/share/vim/vim72/syntax/2html.vim
:wqa