Changeset 4474
- Timestamp:
- 02/09/07 23:22:12 (2 years ago)
- Files:
-
- django/trunk/docs/templates.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/templates.txt
r4420 r4474 1134 1134 **Argument:** Number of words to truncate after 1135 1135 1136 truncatewords_html 1137 ~~~~~~~~~~~~~~~~~~ 1138 1139 Similar to ``truncatewords``, except that it is aware of HTML tags. Any tags 1140 that are opened in the string and not closed before the truncation point, are 1141 closed immediately after the truncation. 1142 1143 This is less efficient than ``truncatewords``, so should only be used when it 1144 is being passed HTML text. 1145 1136 1146 unordered_list 1137 1147 ~~~~~~~~~~~~~~
