Extraneous linebreak cleanup
Support full title/toc/id for heading