Fix generation of documentation

The generated .html file contains some trailing whitespace also found in the
input. No idea why they where not included before, but since the shell code
was kinda uncommon it might come from its interpreter.