When setting the css for li as { display: inline-block; } you can have the http://css-tricks.com/fighting-the-space-between-inline-block-elements/ issue.
Removing all whitespace between the li's will help.

I added a 'indentHtmlOutput' setting, default TRUE (current behaviour) but when set to FALSE, all extra \n and \t output is omitted.
Merge pull request #12 from joostdekeijzer/feature-indentHtmlOutput-setting

prevent indenting/padding of html