Changes regular expression matching headings to allow white space before end of line
Merge pull request #3 from woodp/heading-trailing-whitespace

Changes regular expression matching headings to allow white space before...