diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-10-19 23:37:33 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-10-19 23:37:33 -0400 |
commit | 3fc06a968ee2548254efd08d46b5a4d46ac7e3a8 (patch) | |
tree | 49fe064ba68566383c744793fed85389789ad18a /markdown.py | |
parent | 53f95cde694975e556db7569d3bd89f84459e7bb (diff) | |
download | markdown-3fc06a968ee2548254efd08d46b5a4d46ac7e3a8.tar.gz markdown-3fc06a968ee2548254efd08d46b5a4d46ac7e3a8.tar.bz2 markdown-3fc06a968ee2548254efd08d46b5a4d46ac7e3a8.zip |
Cleaned up some commented code from previous commit and added Jack Miller to docs/AUTHORS for his toc extension.
Diffstat (limited to 'markdown.py')
-rwxr-xr-x | markdown.py | 15 |
1 files changed, 0 insertions, 15 deletions
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) |