Browse code

fixed doc markup

Fabien Potencier authored on 30/04/2019 12:23:18
Showing 2 changed files
... ...
@@ -237,11 +237,11 @@ projects where storing all templates in a single PHP file might make sense.
237 237
 
238 238
 .. tip::
239 239
 
240
-    When using the ``Array``loaders with a cache mechanism, you should know that
241
-    a new cache key is generated each time a template content "changes" (the
242
-    cache key being the source code of the template). If you don't want to see
243
-    your cache grows out of control, you need to take care of clearing the old
244
-    cache file by yourself.
240
+    When using the ``Array`` loaders with a cache mechanism, you should know
241
+    that a new cache key is generated each time a template content "changes"
242
+    (the cache key being the source code of the template). If you don't want to
243
+    see your cache grows out of control, you need to take care of clearing the
244
+    old cache file by yourself.
245 245
 
246 246
 ``\Twig\Loader\ChainLoader``
247 247
 ............................
... ...
@@ -818,7 +818,7 @@ The following operators don't fit into any of the other categories:
818 818
       {# returns the value of foo if it is defined and not null, 'no' otherwise #}
819 819
       {{ foo ?? 'no' }}
820 820
 
821
-.. _templates-string-interpolation
821
+.. _templates-string-interpolation:
822 822
 
823 823
 String Interpolation
824 824
 ~~~~~~~~~~~~~~~~~~~~