aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-09-26 10:44:24 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2014-09-26 10:44:24 -0400
commit6bc119f3e048d18902ddfc66a9ffe9a47355e29a (patch)
tree2058cc2914cf4c4e4ff17e64c7f53eb39e03aa82
parent8358bb3c569026d9775859bcdbd2611fc9499420 (diff)
downloadmarkdown-6bc119f3e048d18902ddfc66a9ffe9a47355e29a.tar.gz
markdown-6bc119f3e048d18902ddfc66a9ffe9a47355e29a.tar.bz2
markdown-6bc119f3e048d18902ddfc66a9ffe9a47355e29a.zip
Run Meta after whitespace normalization
Fixes #343. Thanks for the report @AlexJF.
-rw-r--r--markdown/extensions/meta.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/extensions/meta.py b/markdown/extensions/meta.py
index bb81a86..bcc25a0 100644
--- a/markdown/extensions/meta.py
+++ b/markdown/extensions/meta.py
@@ -31,7 +31,7 @@ class MetaExtension (Extension):
def extendMarkdown(self, md, md_globals):
""" Add MetaPreprocessor to Markdown instance. """
- md.preprocessors.add("meta", MetaPreprocessor(md), "_begin")
+ md.preprocessors.add("meta", MetaPreprocessor(md), ">normalize_whitespace")
class MetaPreprocessor(Preprocessor):