[svn] fixed docstring
authorArmin Ronacher <armin.ronacher@active-4.com>
Sun, 15 Apr 2007 13:16:08 +0000 (15:16 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sun, 15 Apr 2007 13:16:08 +0000 (15:16 +0200)
--HG--
branch : trunk

jinja/filters.py

index 6af5cec31cc5365fa2bd2f266f51095484141815..73db407ed89fb37913999c82b36028f6d016774b 100644 (file)
@@ -124,7 +124,7 @@ def do_xmlattr():
     All values that are neither `none` nor `undefined` are automatically
     escaped:
 
-    .. sourcecode:: html
+    .. sourcecode:: html+jinja
 
         <ul{{ {'class': 'my_list', 'missing': None,
                'id': 'list-%d'|format(variable) }}>
@@ -133,6 +133,8 @@ def do_xmlattr():
 
     Results in something like this:
 
+    .. sourcecode:: html
+
         <ul class="my_list" id="list-42">
         ...
         </ul>