Make the HTML renderer state public again
Use size_t to avoid warning
Merge pull request #39 from js/fix-warning

Use size_t to avoid warning