]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
remove html+jinja highlight 852/head
authorngr <grischenko.n@gmail.com>
Mon, 14 May 2018 15:20:32 +0000 (11:20 -0400)
committerngr <grischenko.n@gmail.com>
Mon, 14 May 2018 15:20:32 +0000 (11:20 -0400)
docs/templates.rst

index c60234b339774627f08c4b256fa67785a7575f45..c02da1468931acf0cf5eaea44889ab5e5128bc84 100644 (file)
@@ -1309,7 +1309,9 @@ The general syntax is ``<do something> if <something is true> else <do
 something else>``.
 
 The `else` part is optional.  If not provided, the else block implicitly
-evaluates into an undefined object::
+evaluates into an undefined object:
+
+.. code-block:: text
 
     {{ ('[%s]' % page.title) if page.title }}