summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Filips <janfilipsgt@gmail.com>2022-03-15 15:56:40 +0200
committerGitHub <noreply@github.com>2022-03-15 15:56:40 +0200
commit6e4df02773465d7a80c75cad93289d24f70bfa74 (patch)
tree662854d4cf57f2a7318e4b3066d95bb7269a5749
parent3a050b122ed8c7b3b6bf0116cb91bd9d5eac7d8f (diff)
downloadjinja2-6e4df02773465d7a80c75cad93289d24f70bfa74.tar.gz
Fix formatting in tricks.rst
-rw-r--r--docs/tricks.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tricks.rst b/docs/tricks.rst
index 7c7ce25..b58c5bb 100644
--- a/docs/tricks.rst
+++ b/docs/tricks.rst
@@ -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>
...