generate.html:
  remove trailing spaces (as my text editor automatically did).
  remove an adundant space appearing in page.
  remove a few typos.