Skip to content

Commit 6bc119f

Browse files
committed
Run Meta after whitespace normalization
Fixes Python-Markdown#343. Thanks for the report @AlexJF.
1 parent 8358bb3 commit 6bc119f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markdown/extensions/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class MetaExtension (Extension):
3131
def extendMarkdown(self, md, md_globals):
3232
""" Add MetaPreprocessor to Markdown instance. """
3333

34-
md.preprocessors.add("meta", MetaPreprocessor(md), "_begin")
34+
md.preprocessors.add("meta", MetaPreprocessor(md), ">normalize_whitespace")
3535

3636

3737
class MetaPreprocessor(Preprocessor):

0 commit comments

Comments
 (0)