aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2011-05-04 11:56:40 -0400
committerWaylan Limberg <waylan@gmail.com>2011-05-04 11:56:40 -0400
commit1aedcafa01acede9a1822f5dcfd0b380d13dfaa5 (patch)
tree339861d6d1acecf136e8ab1a1bd01547db8194d9
parent97be232c58c1ee1395bdce09fb9f55bfad4bb42d (diff)
downloadmarkdown-1aedcafa01acede9a1822f5dcfd0b380d13dfaa5.tar.gz
markdown-1aedcafa01acede9a1822f5dcfd0b380d13dfaa5.tar.bz2
markdown-1aedcafa01acede9a1822f5dcfd0b380d13dfaa5.zip
Fixed typo in previous commit. Extension.getConfigs is a method, not a property.
-rw-r--r--markdown/extensions/codehilite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/extensions/codehilite.py b/markdown/extensions/codehilite.py
index 588d647..cc64d6a 100644
--- a/markdown/extensions/codehilite.py
+++ b/markdown/extensions/codehilite.py
@@ -203,7 +203,7 @@ class CodeHiliteExtension(markdown.Extension):
def extendMarkdown(self, md, md_globals):
""" Add HilitePostprocessor to Markdown instance. """
hiliter = HiliteTreeprocessor(md)
- hiliter.config = self.getConfigs
+ hiliter.config = self.getConfigs()
md.treeprocessors.add("hilite", hiliter, "_begin")
md.registerExtension(self)