Clean up trailing whitespace.
authorSean Hammond <seanhammond@lavabit.com>
Tue, 28 Sep 2010 00:42:30 +0000 (01:42 +0100)
committerSean Hammond <seanhammond@lavabit.com>
Tue, 28 Sep 2010 00:42:30 +0000 (01:42 +0100)
markdown-plugin.py

index f9140f7732d4d5e94decd7bce293d4538beac275..6b03ed92cb96b5e57a71fbd3f3255196b9130d2e 100644 (file)
@@ -6,7 +6,7 @@ This plugin requires Python-Markdown v2.x, which you can download from:
 
     http://www.freewisdom.org/projects/python-markdown/
 
 
     http://www.freewisdom.org/projects/python-markdown/
 
-Extract python-markdown into your pyblosxom plugins dir alongside this 
+Extract python-markdown into your pyblosxom plugins dir alongside this
 plugin. Your plugins dir should look like this:
 
     plugins/ <-- your pyblosxom plugins dir
 plugin. Your plugins dir should look like this:
 
     plugins/ <-- your pyblosxom plugins dir
@@ -15,9 +15,9 @@ plugin. Your plugins dir should look like this:
         markdown/ <-- directory containing python-markdown's files
         ... <-- (any other pyblosxom plugins)
 
         markdown/ <-- directory containing python-markdown's files
         ... <-- (any other pyblosxom plugins)
 
-Now any posts with filenames ending in `.mkdn` will be passed through 
+Now any posts with filenames ending in `.mkdn` will be passed through
 python-markdown.
 python-markdown.
-   
+
 Copyright (C) Benjamin Mako Hill, 2005
 Updated for python-markdown 2 by seanh 2009
 
 Copyright (C) Benjamin Mako Hill, 2005
 Updated for python-markdown 2 by seanh 2009
 
@@ -58,7 +58,7 @@ md = markdown.Markdown(
                  #'meta',
                  #'rss',
                  'toc',
                  #'meta',
                  #'rss',
                  'toc',
-                 #'wikilinks'               
+                 #'wikilinks'
                ]
 )
 
                ]
 )
 
@@ -77,7 +77,7 @@ def to_ascii(char):
     else:
         return '?'
 
     else:
         return '?'
 
-def parse(story):    
+def parse(story):
     # Replace any non-ascii characters in the story with '?', so that
     # python-markdown doesn't crash.
     ascii = "".join([to_ascii(x) for x in story])
     # Replace any non-ascii characters in the story with '?', so that
     # python-markdown doesn't crash.
     ascii = "".join([to_ascii(x) for x in story])

Benjamin Mako Hill || Want to submit a patch?