aboutsummaryrefslogtreecommitdiffstats
path: root/markdown_extensions
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-10-28 18:25:54 -0400
committerWaylan Limberg <waylan@gmail.com>2008-10-28 18:25:54 -0400
commit83efb118c1bdcb7d44a1fa6b187eb33bf86f72dd (patch)
tree1cfad9c53141ce33b871092f504c3d428568d805 /markdown_extensions
parenta7b2a0c6933b1c8667cd25a58a18e50be0367504 (diff)
downloadmarkdown-83efb118c1bdcb7d44a1fa6b187eb33bf86f72dd.tar.gz
markdown-83efb118c1bdcb7d44a1fa6b187eb33bf86f72dd.tar.bz2
markdown-83efb118c1bdcb7d44a1fa6b187eb33bf86f72dd.zip
Replaced Treap with OrderedDict. Updated regression_tests and extensions. All tests pass. Still needs documentation.
Diffstat (limited to 'markdown_extensions')
-rw-r--r--markdown_extensions/tables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown_extensions/tables.py b/markdown_extensions/tables.py
index 5339ae1..0e5cd96 100644
--- a/markdown_extensions/tables.py
+++ b/markdown_extensions/tables.py
@@ -62,7 +62,7 @@ class TableTreeprocessor(markdown.Treeprocessor):
class TableExtension(markdown.Extension):
def extendMarkdown(self, md, md_globals):
md.inlinePatterns.add('table', TablePattern(md), "<backtick")
- md.treeprocessors['table'] = TableTreeprocessor()
+ md.treeprocessors.add('table', TableTreeprocessor(), "<prettify")
def makeExtension(configs):