      return value and value[0].upper() + value[1:]
  capfirst = stringfilter(capfirst)
  
  def fix_ampersands(value):
      "Replaces ampersands with ``&amp;`` entities"
      from django.utils.html import fix_ampersands
      return fix_ampersands(value)
  fix_ampersands = stringfilter(fix_ampersands)
  
  def floatformat(text, arg=-1):
 
</s> remove     "Capitalizes the first character of the value"
 </s> add     """Capitalizes the first character of the value.""" </s> remove     # Find the maximum width of the line count, for use with zero padding string format command
 </s> add     # Find the maximum width of the line count, for use with zero padding
    # string format command. </s> remove     "Strips all [X]HTML tags"
 </s> add     """Strips all [X]HTML tags.""" </s> remove     "Displays text with line numbers"
 </s> add     """Displays text with line numbers.""" </s> remove     "Converts URLs in plain text into clickable links"
 </s> add     """Converts URLs in plain text into clickable links."""
    """Replaces ampersands with ``&amp;`` entities."""
      return value and value[0].upper() + value[1:]
  capfirst = stringfilter(capfirst)
  
  def fix_ampersands(value):
    """Replaces ampersands with ``&amp;`` entities."""
      from django.utils.html import fix_ampersands
      return fix_ampersands(value)
  fix_ampersands = stringfilter(fix_ampersands)
  
  def floatformat(text, arg=-1):
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