toHtml: add mod === 0 to output

Fixes #109