Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #21306 -- Documented lower-casing behavior of title filter.

  • Loading branch information...
commit eafe279120e7e6ebe7b6d42443366088ba1a50c8 1 parent 51e6575
Tim Graham authored October 30, 2013

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  docs/ref/templates/builtins.txt
7  docs/ref/templates/builtins.txt
@@ -2116,14 +2116,15 @@ date that is in the past relative to the comparison point.
2116 2116
 title
2117 2117
 ^^^^^
2118 2118
 
2119  
-Converts a string into titlecase by capitalizing each word in the string.
2120  
-This tag makes no effort to keep "trivial words" in lowercase.
  2119
+Converts a string into titlecase by making words start with an uppercase
  2120
+character and the remaining characters lowercase. This tag makes no effort to
  2121
+keep "trivial words" in lowercase.
2121 2122
 
2122 2123
 For example::
2123 2124
 
2124 2125
     {{ value|title }}
2125 2126
 
2126  
-If ``value`` is ``"my first post"``, the output will be ``"My First Post"``.
  2127
+If ``value`` is ``"my FIRST post"``, the output will be ``"My First Post"``.
2127 2128
 
2128 2129
 .. templatefilter:: truncatechars
2129 2130
 

0 notes on commit eafe279

Please sign in to comment.
Something went wrong with that request. Please try again.