]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Fix formatting in tricks.rst 1620/head
authorJan Filips <janfilipsgt@gmail.com>
Tue, 15 Mar 2022 13:56:40 +0000 (15:56 +0200)
committerGitHub <noreply@github.com>
Tue, 15 Mar 2022 13:56:40 +0000 (15:56 +0200)
docs/tricks.rst

index 7c7ce2503db7e449295f458c4544bee6ae1e6816..b58c5bb094c320369b6937e131d9bab6d14fc5fd 100644 (file)
@@ -74,8 +74,8 @@ sense to define a default for that variable::
     ...
     <ul id="navigation">
     {% for href, id, caption in navigation_bar %}
-      <li{% if id == active_page %} class="active"{% endif
-      %}><a href="{{ href|e }}">{{ caption|e }}</a></li>
+      <li{% if id == active_page %} class="active"{% endif %}>
+      <a href="{{ href|e }}">{{ caption|e }}</a></li>
     {% endfor %}
     </ul>
     ...