Fix word wrap

Previously all spaces were encoded to &nbsp; now every other space is encoded
to &nbsp;.
Fixes #18