Ensure inline markup in titles is correctly stripped

When generating headers' anchor, ensure that there is no inline markup
such as strong or em tags.
Merge pull request #298 from vmg/html-in-toc-header

Ensure inline markup in titles is correctly stripped