Permalink
Browse files

remove html tags from code-block example since there's only twig in t…

…here
  • Loading branch information...
1 parent 36335c7 commit c04b3e99631296c2f70aa5291c736a5c81ddaca3 @Inoryy committed Mar 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 cookbook/templating/twig_extension.rst
@@ -104,14 +104,14 @@ Using the custom extension
Using your newly created Twig Extension is no different than any other:
-.. code-block:: html+jinja
+.. code-block:: jinja
{# outputs $5,500.00 #}
{{ '5500' | price }}
Passing other arguments to your filter:
-.. code-block:: html+jinja
+.. code-block:: jinja
{# outputs $5500,2516 #}
{{ '5500.25155' | price(4, ',', '') }}

0 comments on commit c04b3e9

Please sign in to comment.