From 99cda0ae525470c23bb59334e141baeabe963445 Mon Sep 17 00:00:00 2001 From: Yuri Takhteyev Date: Fri, 25 Jul 2008 10:52:38 -0700 Subject: Darius Bacon's patch for the RSS extension for the case where no items are defined. --- mdx_rss.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mdx_rss.py b/mdx_rss.py index 2117baf..c30440a 100644 --- a/mdx_rss.py +++ b/mdx_rss.py @@ -78,6 +78,7 @@ class RssPostProcessor (markdown.Postprocessor): ("description", None)): channel.appendChild(doc.createElement(tag, textNode = text)) + item = None for child in oldDocElement.childNodes : if child.type == "element" : -- cgit v1.2.3