aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Takhteyev <yuri@freewisdom.org>2008-07-25 10:52:38 -0700
committerYuri Takhteyev <yuri@freewisdom.org>2008-07-25 10:52:38 -0700
commit99cda0ae525470c23bb59334e141baeabe963445 (patch)
tree57c53c8526e171c3898fd9eafc06a901ed36516f
parentcaef3e90d46830db37888a7f7f897c450cf4f1e7 (diff)
downloadmarkdown-99cda0ae525470c23bb59334e141baeabe963445.tar.gz
markdown-99cda0ae525470c23bb59334e141baeabe963445.tar.bz2
markdown-99cda0ae525470c23bb59334e141baeabe963445.zip
Darius Bacon's patch for the RSS extension for the case where no items
are defined.
-rw-r--r--mdx_rss.py1
1 files changed, 1 insertions, 0 deletions
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" :