From 3fc06a968ee2548254efd08d46b5a4d46ac7e3a8 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Sun, 19 Oct 2008 23:37:33 -0400 Subject: Cleaned up some commented code from previous commit and added Jack Miller to docs/AUTHORS for his toc extension. --- markdown.py | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'markdown.py') diff --git a/markdown.py b/markdown.py index 437530c..c16b6d6 100755 --- a/markdown.py +++ b/markdown.py @@ -1217,7 +1217,6 @@ class InlineProcessor(Treeprocessor): """ def __init__ (self, md): - #self.__inlinePatterns = patterns self.__placeholder_prefix = INLINE_PLACEHOLDER_PREFIX self.__placeholder_suffix = ETX self.__placeholder_length = 4 + len(self.__placeholder_prefix) \ @@ -1872,16 +1871,6 @@ class Markdown: self.htmlStash.reset() self.references.clear() - #HTML_BLOCK_PREPROCESSOR.stash = self.htmlStash - #LINE_PREPROCESSOR.stash = self.htmlStash - #REFERENCE_PREPROCESSOR.references = self.references - #HTML_PATTERN.stash = self.htmlStash - #ENTITY_PATTERN.stash = self.htmlStash - #REFERENCE_PATTERN.references = self.references - #IMAGE_REFERENCE_PATTERN.references = self.references - #RAWHTMLTEXTPOSTPROCESSOR.stash = self.htmlStash - #RAWHTMLTEXTPOSTPROCESSOR.safeMode = self.safeMode - for extension in self.registeredExtensions: extension.reset() @@ -1913,10 +1902,6 @@ class Markdown: # Parse the high-level elements. root = self.parser.parseDocument(self.lines).getroot() - # Apply inline patterns - #inlineProcessor = InlineProcessor(self.inlinePatterns.heapsorted()) - #root = inlineProcessor.applyInlinePatterns(tree).getroot() - # Run the tree-processors for treeprocessor in self.treeprocessors.heapsorted(): newRoot = treeprocessor.run(root) -- cgit v1.2.3