Fix double escaped tab and delete leading spaces in headers

The tabs would show up as \t in the rendered markdown.
"## Header" would be rendered with a leading space. Has to be stripped.