         keyword argument, called ``autoescape``, that is ``True`` if
         auto-escaping is in effect and ``False`` otherwise.
  
         For example, let's write a filter that emphasizes the first character of
         a string::
  
             from django.utils.html import conditional_escape
             from django.utils.safestring import mark_safe
  
             def initial_letter_filter(text, autoescape=None):
 
</s> remove convert an object to its string value before being passed to your function::
 </s> add convert an object to its string value before being passed to your function:

.. code-block:: python </s> remove Continuing the above example, we need to define ``CurrentTimeNode``::
 </s> add Continuing the above example, we need to define ``CurrentTimeNode``:

.. code-block:: python </s> remove        For example, suppose you have a filter that adds the string ``xx`` to the
       end of any input. Since this introduces no dangerous HTML characters to
       the result (aside from any that were already present), you should mark
       your filter with ``is_safe``::
 </s> add        For example, suppose you have a filter that adds the string ``xx`` to
       the end of any input. Since this introduces no dangerous HTML characters
       to the result (aside from any that were already present), you should
       mark your filter with ``is_safe``:

       .. code-block:: python </s> remove pages. Those buttons always look the same, but the link targets change depending
on the object being edited -- so they're a perfect case for using a small
template that is filled with details from the current object. (In the admin's
case, this is the ``submit_row`` tag.)
 </s> add pages. Those buttons always look the same, but the link targets change
depending on the object being edited -- so they're a perfect case for using a
small template that is filled with details from the current object. (In the
admin's case, this is the ``submit_row`` tag.) </s> remove following::
 </s> add following:

.. code-block:: python
       a string:

       .. code-block:: python
         keyword argument, called ``autoescape``, that is ``True`` if
         auto-escaping is in effect and ``False`` otherwise.
  
         For example, let's write a filter that emphasizes the first character of
       a string:

       .. code-block:: python
  
             from django.utils.html import conditional_escape
             from django.utils.safestring import mark_safe
  
             def initial_letter_filter(text, autoescape=None):
keep keep keep keep replace keep keep keep keep keep
 Brushed up the custom template tag 'howto' guide by moving the assignment_tag doc to a more appropriate place (i.e. under the "Setting a variable in the context" section), adding cross references, fixing a few minor inaccuracies and doing a little PEP8 cleanup.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16909 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
docs/howto/custom-template-tags.txt