fixed up generated HTML to NOT produce white-space at the end
      of lines