From 6418a7bad214fceff478b6114ef7225e32fdff21 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 19 Feb 2013 16:11:32 -0500 Subject: Updated toc extension to work with changes @ 4ff74e3. --- markdown/extensions/toc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/markdown/extensions/toc.py b/markdown/extensions/toc.py index 580d77e..f464daa 100644 --- a/markdown/extensions/toc.py +++ b/markdown/extensions/toc.py @@ -206,12 +206,12 @@ class TocExtension(markdown.Extension): def extendMarkdown(self, md, md_globals): tocext = self.TreeProcessorClass(md) tocext.config = self.getConfigs() - # Headerid ext is set to '>inline'. With this set to 'prettify'. With this set to '_end', # it should always come after headerid ext (and honor ids assinged # by the header id extension) if both are used. Same goes for # attr_list extension. This must come last because we don't want # to redefine ids after toc is created. But we do want toc prettified. - md.treeprocessors.add("toc", tocext, "