getpelican/pelican-plugins — pull request #350 by jedbrown (2014-11-07 09:09:22+00:00)
Title: extract_toc: fix markdown case when toc not found

The guard is needed to avoid:

'NoneType' object has no attribute 'extract'

This fixes the bug introduced in the parent commit.