Skip to content

Commit

Permalink
minor #2058 Minor rst syntax tweaks (javiereguiluz)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.x branch.

Discussion
----------

Minor rst syntax tweaks

It looks like you can't show `<code>` inside italics with RST. This is how the current docs look when rendered:

![rst_syntax_issue](https://cloud.githubusercontent.com/assets/73419/16001277/7cf476ee-3151-11e6-99f7-da9d94ffff4e.png)

Commits
-------

b42ddb3 Minor rst syntax tweaks
  • Loading branch information
fabpot committed Jun 13, 2016
2 parents e9ce460 + b42ddb3 commit 9abbf27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api.rst
Expand Up @@ -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).
Expand All @@ -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``).
Expand Down

0 comments on commit 9abbf27

Please sign in to comment.