commit python-markdown for openSUSE:Factory

here is the log from the commit of package python-markdown for openSUSE:Factory
checked in at 2012-01-26 16:00:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-markdown (Old)
and /work/SRC/openSUSE:Factory/.python-markdown.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

* extensions: A list of extensions, which can either
be strings or objects. See the docstring on Markdown.
@@ -189,7 +189,7 @@
module_name_new_style = '.'.join([ext_module, ext_name])
module_name_old_style = '_'.join(['mdx', ext_name])

- # Try loading the extention first from one place, then another
+ # Try loading the extension first from one place, then another
try: # New style (markdown.extensons.<extension>)
module = __import__(module_name_new_style, {}, {}, [ext_module])
except ImportError:
@@ -333,28 +333,38 @@
encoding = encoding or "utf-8"

for key, value in configs:
self.config[key][0] = value
@@ -65,10 +69,10 @@
md.inlinePatterns.add("footnote", FootnotePattern(FOOTNOTE_RE, self),
"<reference")
# Insert a tree-processor that would actually add the footnote div
- # This must be before the inline treeprocessor so inline patterns
- # run on the contents of the div.
+ # This must be before all other treeprocessors (i.e., inline and
+ # codehilite) so they can run on the the contents of the div.
md.treeprocessors.add("footnote", FootnoteTreeprocessor(self),
- "<inline")
+ "_begin")
# Insert a postprocessor after amp_substitute oricessor
md.postprocessors.add("footnote", FootnotePostprocessor(self),
">amp_substitute")
@@ -282,9 +286,11 @@