Fixed generated HTML for edge case chunk.

The HTML generated was incorrect when the diff chunk
contained more than characters after the last pair of `@@`.
Merge pull request #7 from chrisledet/generate_fix

Fixed generated HTML for edge case chunk.