Browse code

Minor rst syntax tweaks

Javier Eguiluz authored on 13/06/2016 08:25:29 • GitHub committed on 13/06/2016 08:25:29
Showing 1 changed files
... ...
@@ -78,16 +78,16 @@ The following options are available:
78 78
   ``__toString()`` method that you can use to display the generated nodes
79 79
   (default to ``false``).
80 80
 
81
-* ``charset`` *string (default to ``utf-8``)*
81
+* ``charset`` *string* (defaults to ``utf-8``)
82 82
 
83 83
   The charset used by the templates.
84 84
 
85
-* ``base_template_class`` *string (default to ``Twig_Template``)*
85
+* ``base_template_class`` *string* (defaults to ``Twig_Template``)
86 86
 
87 87
   The base template class to use for generated
88 88
   templates.
89 89
 
90
-* ``cache`` *string|false*
90
+* ``cache`` *string* or ``false``
91 91
 
92 92
   An absolute path where to store the compiled templates, or
93 93
   ``false`` to disable caching (which is the default).
... ...
@@ -106,7 +106,7 @@ The following options are available:
106 106
   replace them with a ``null`` value. When set to ``true``, Twig throws an
107 107
   exception instead (default to ``false``).
108 108
 
109
-* ``autoescape`` *string|boolean*
109
+* ``autoescape`` *string* or *boolean*
110 110
 
111 111
   If set to ``true``, HTML auto-escaping will be enabled by
112 112
   default for all templates (default to ``true``).