Fixed markdown failing tests

Failing because out-expected H tags were missing the generated id's
Merge pull request #697 from pflannery/issue-692

Fixed markdown failing tests