From b42ddb3989007b5a848b63cd4958870df4fb2791 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 13 Jun 2016 10:25:29 +0200 Subject: [PATCH] Minor rst syntax tweaks --- doc/api.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api.rst b/doc/api.rst index f367db07a..09029045f 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -78,16 +78,16 @@ The following options are available: ``__toString()`` method that you can use to display the generated nodes (default to ``false``). -* ``charset`` *string (default to ``utf-8``)* +* ``charset`` *string* (defaults to ``utf-8``) The charset used by the templates. -* ``base_template_class`` *string (default to ``Twig_Template``)* +* ``base_template_class`` *string* (defaults to ``Twig_Template``) The base template class to use for generated templates. -* ``cache`` *string|false* +* ``cache`` *string* or ``false`` An absolute path where to store the compiled templates, or ``false`` to disable caching (which is the default). @@ -106,7 +106,7 @@ The following options are available: replace them with a ``null`` value. When set to ``true``, Twig throws an exception instead (default to ``false``). -* ``autoescape`` *string|boolean* +* ``autoescape`` *string* or *boolean* If set to ``true``, HTML auto-escaping will be enabled by default for all templates (default to ``true``).