Skip to content
Myr

[svn] fixed docstring

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 450756b · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:jinja/filters.py+3 added-1 removed
122 unmodified lines
123 Create an SGML/XML attribute string based on the items in a dict.124 All values that are neither `none` nor `undefined` are automatically125 escaped:126127 .. sourcecode:: html127 .. sourcecode:: html+jinja128129 <ul{{ {'class': 'my_list', 'missing': None,130 'id': 'list-%d'|format(variable) }}>131 ...132 </ul>133134 Results in something like this:135136 .. sourcecode:: html137138 <ul class="my_list" id="list-42">139 ...140 </ul>141
711 unmodified lines