  from django.utils.html import escape
  from django import template
  
  # Configuration for urlize() function.
  LEADING_PUNCTUATION  = ['(', '<', '&lt;', '"', "'"]
  TRAILING_PUNCTUATION = ['.', ',', ')', '>', '\n', '&gt;', '"', "'"]
  
  # List of possible strings used for bullets in bulleted lists.
  DOTS = ['&middot;', '*', '\xe2\x80\xa2', '&#149;', '&bull;', '&#8226;']
  
 
</s> remove from django.utils.http import urlquote
 </s> add  </s> remove # Almost all of this code is copied verbatim from django.utils.html
# LEADING_PUNCTUATION and TRAILING_PUNCTUATION have been modified
 </s> add  </s> remove """Adds the custom filter 'urlize_quoted_links'
 </s> add """
Adds the custom filter 'urlize_quoted_links'
LEADING_PUNCTUATION = ['(', '<', '&lt;', '"', "'"]
  from django.utils.html import escape
  from django import template
  
  # Configuration for urlize() function.
LEADING_PUNCTUATION = ['(', '<', '&lt;', '"', "'"]
  TRAILING_PUNCTUATION = ['.', ',', ')', '>', '\n', '&gt;', '"', "'"]
  
  # List of possible strings used for bullets in bulleted lists.
  DOTS = ['&middot;', '*', '\xe2\x80\xa2', '&#149;', '&bull;', '&#8226;']
  
keep keep keep keep replace keep keep keep keep keep
 Optional login/logout tags so browseable API will work without requiring auth views 
djangorestframework/templatetags/urlize_quoted_links.py