diff --git a/pelican/generators.py b/pelican/generators.py index 166ff616..13909743 100644 --- a/pelican/generators.py +++ b/pelican/generators.py @@ -56,6 +56,7 @@ class Generator(object): "themes", "simple", "templates")) self.env = Environment( trim_blocks=True, + lstrip_blocks=True, loader=ChoiceLoader([ FileSystemLoader(self._templates_path), simple_loader, # implicit inheritance diff --git a/pelican/tests/output/basic/a-markdown-powered-article.html b/pelican/tests/output/basic/a-markdown-powered-article.html index 29c6d0d6..6f854ae4 100644 --- a/pelican/tests/output/basic/a-markdown-powered-article.html +++ b/pelican/tests/output/basic/a-markdown-powered-article.html @@ -4,8 +4,8 @@ A markdown powered article - - + + @@ -15,46 +15,46 @@ -
+
-
+