      return urlize(value, trim_url_limit=int(limit), nofollow=True)
  urlizetrunc = stringfilter(urlizetrunc)
  
  def wordcount(value):
      "Returns the number of words"
      return len(value.split())
  wordcount = stringfilter(wordcount)
  
  def wordwrap(value, arg):
      """
 
</s> remove     Wraps words at specified line length
 </s> add     Wraps words at specified line length. </s> remove     "Converts URLs in plain text into clickable links"
 </s> add     """Converts URLs in plain text into clickable links.""" </s> remove     Converts URLs into clickable links, truncating URLs to the given character limit,
    and adding 'rel=nofollow' attribute to discourage spamming.
 </s> add     Converts URLs into clickable links, truncating URLs to the given character
    limit, and adding 'rel=nofollow' attribute to discourage spamming. </s> remove     "Returns a boolean of whether the value's length is the argument"
 </s> add     """Returns a boolean of whether the value's length is the argument.""" </s> remove     "Returns a random item from the list"
 </s> add     """Returns a random item from the list."""
    """Returns the number of words."""
      return urlize(value, trim_url_limit=int(limit), nofollow=True)
  urlizetrunc = stringfilter(urlizetrunc)
  
  def wordcount(value):
    """Returns the number of words."""
      return len(value.split())
  wordcount = stringfilter(wordcount)
  
  def wordwrap(value, arg):
      """
keep keep keep keep replace keep keep keep keep keep
 Style and import fixes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6641 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/template/defaultfilters.py