Html Command outputs formatted document

The section titles aren’t being handled correctly, but otherwise, the
output looks good.