Skip to content

Commit

Permalink
Fixed typo in example
Browse files Browse the repository at this point in the history
It should be `css_class` in the template tag example instead of just `class`. (It is mentioned correctly in the syntax line earlier).
  • Loading branch information
reinout committed Jul 7, 2014
1 parent 0043fac commit 3883e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/templatetags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Example::
# Highlight summary but wrap highlighted words with a div and the
# following CSS class.
{% highlight result.summary with query html_tag "div" class "highlight_me_please" %}
{% highlight result.summary with query html_tag "div" css_class "highlight_me_please" %}
# Highlight summary but only show 40 words.
{% highlight result.summary with query max_length 40 %}
Expand Down

0 comments on commit 3883e7b

Please sign in to comment.