Code

Changes between Version 3 and Version 4 of LinkifyFilter


Ignore:
Timestamp:
04/12/09 10:59:10 (5 years ago)
Author:
CollinAnderson
Comment:

Added a link to urlize.

Legend:

Unmodified
Added
Removed
Modified
  • LinkifyFilter

    v3 v4  
     1'''Note: There is a built in template tag called [http://docs.djangoproject.com/en/dev/ref/templates/builtins/#urlize urlize] that does the same thing.''' 
     2 
     3 
    14The following filter will parse out links from the text passed to it and generate anchor tags for them. It will also insert spaces into the textual part of the link, so that long links break properly. Also, you may pass an argument to the filter, specifying the `class` attribute of the link. 
    25