toHtml: add mod === 0 to output

Fixes #109
Merge pull request #110 from zxqfox/hotfix/mods-with-zeroes

toHtml: add mod === 0 to output