From: Sean Hammond Date: Tue, 28 Sep 2010 01:32:49 +0000 (+0100) Subject: Remove a seemingly unnecessary cb_preformat function. X-Git-Url: https://projects.mako.cc/source/pyblosxom-markdown2/commitdiff_plain/d63423a531094227b71014fe8141080c5316ece2?hp=2185dce438bb38c425c5466e19b90c823644cd6c Remove a seemingly unnecessary cb_preformat function. --- diff --git a/markdown-plugin.py b/markdown-plugin.py index e8fa415..01fc022 100644 --- a/markdown-plugin.py +++ b/markdown-plugin.py @@ -38,7 +38,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. """ -PREFORMATTER_ID = 'markdown' FILENAME_EXTENSIONS = ('txt','text','mkdn','markdown','md','mdown','markdn','mkd') _version__ = '0.3' __author__ = 'Benjamin Mako Hill ' @@ -59,10 +58,6 @@ def cb_entryparser(args): args[FILENAME_EXTENSION] = readfile return args -def cb_preformat(args): - if args['parser'] == PREFORMATTER_ID: - return parse(''.join(args['story'])) - def parse(story): html = md.convert(story) md.reset()