From 15224bd352bc6c06ae05ffd78d5ecee9ea07f6ef Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Sun, 19 Oct 2008 22:30:03 -0400 Subject: Changed Postprocessors to Treeprocessors and TextPostProcessors to Postprocessors. These names more acturately depict what things do. Also updated the extensions and docs to match. --- markdown_extensions/rss.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'markdown_extensions/rss.py') diff --git a/markdown_extensions/rss.py b/markdown_extensions/rss.py index b88b9b5..fa05fef 100644 --- a/markdown_extensions/rss.py +++ b/markdown_extensions/rss.py @@ -51,14 +51,14 @@ class RssExtension (markdown.Extension): md.xml_mode = True - # Insert a post-processor that would actually add the title tag - postprocessor = RssPostProcessor(self) - postprocessor.ext = self - md.postprocessors.append(postprocessor) + # Insert a tree-processor that would actually add the title tag + treeprocessor = RssTreeProcessor(self) + treeprocessor.ext = self + md.treeprocessors.append(treeprocessor) md.stripTopLevelTags = 0 md.docType = '\n' -class RssPostProcessor (markdown.Postprocessor): +class RssTreeProcessor (markdown.Treeprocessor): def __init__(self, md): -- cgit v1.2.3