Actually allow writeHtml to be True in getLog().

I apparently removed the code setting writeHtml to True while
refactoring it. Oops.
Use HTML (5) instead of XHTML (1.0).