Fixed: One or two hyphens on a standalone line (no line above) became an empty header.
Allow footnotes.
Changed: Trailing whitespace is not allowed for header lines since it does not work well in emails. In particular for signature separators.