chiark / gitweb /
Trim extra trailing newlines before passing it to Jinja's indent().
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 7 Jul 2019 19:34:50 +0000 (21:34 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 7 Jul 2019 20:20:53 +0000 (22:20 +0200)
commit9b7f4aee26134277730fd3a35a7a20f2c7ba8f65
treec4485ae36edd7e94cc3deb84caaa6f1abf005b2b
parentfcda3db0c1e02d63c7dc508fd305bf2559a5a4db
Trim extra trailing newlines before passing it to Jinja's indent().

In Jinja 2.9 indent() unconditionally stripped the trailing newline, in
2.10 it preserves it. That ... actually makes sense, so we have to
adapt.
23 files changed:
documentation/templates/doxygen/annotated.html
documentation/templates/doxygen/base-class-reference.html
documentation/templates/doxygen/base-reference.html
documentation/templates/doxygen/base.html
documentation/templates/doxygen/files.html
documentation/templates/doxygen/modules.html
documentation/templates/doxygen/namespaces.html
documentation/templates/doxygen/page.html
documentation/templates/doxygen/pages.html
documentation/templates/python/base.html
documentation/templates/python/classes.html
documentation/templates/python/modules.html
documentation/templates/python/pages.html
pelican-theme/templates/archives.html
pelican-theme/templates/article.html
pelican-theme/templates/article_badges.html
pelican-theme/templates/author.html
pelican-theme/templates/base.html
pelican-theme/templates/base_blog_section.html
pelican-theme/templates/category.html
pelican-theme/templates/page.html
pelican-theme/templates/passthrough.html
pelican-theme/templates/tag.html