Fix: TOC helper would raise an exception if it was called with content that doesn’t contain any headings.
Merge pull request #424 from aexmachina/toc-with-no-headings

Fix: TOC helper would raise an exception if it was called with content that doesn’t contain any headings.