Merge pull request #217 from sumnerevans/remove-extra-whitespace-in-nav

Strip whitespace from translated links in nav
This commit is contained in:
Alexandre Vicenzi 2020-04-20 10:04:25 +02:00 committed by GitHub
commit 531bd8ad0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
{% if 'jinja2.ext.i18n' not in JINJA_ENVIRONMENT.extensions and 'jinja2.ext.i18n' not in JINJA_EXTENSIONS %}
{% macro _(msg) %}
{%- macro _(msg) -%}
{{ msg % kwargs }}
{% endmacro %}
{%- endmacro -%}
{% endif %}
<!DOCTYPE html>