Delete a couple of comments.
[pyblosxom-markdown2] / markdown-plugin.py
index 9a5e9e1c9b124a800549884e17ddc7d8083cb57b..e8bba85755680e945c9cf4d6abbca9e23bb98025 100644 (file)
@@ -40,11 +40,11 @@ USA.
 """
 PREFORMATTER_ID = 'markdown'
 FILENAME_EXTENSIONS = ('txt','text','mkdn','markdown','md','mdown','markdn','mkd')
-_version__ = '0.2'
+_version__ = '0.3'
 __author__ = 'Benjamin Mako Hill <mako@atdot.cc>'
 __author__ = 'seanh <snhmnd@gmail.com>'
 
-import re,codecs
+import codecs
 import markdown
 from Pyblosxom import tools
 
@@ -72,9 +72,7 @@ def cb_preformat(args):
                return parse(''.join(args['story']))
 
 def parse(story):
-       # Convert the ASCII text to HTML with python-markdown.
        html = md.convert(story)
-       # Reset python-markdown ready for next time.
        md.reset()
        return html
 

Benjamin Mako Hill || Want to submit a patch?