Django

Code

Changeset 5937

Show
Ignore:
Timestamp:
08/19/07 03:50:51 (1 year ago)
Author:
mtredinnick
Message:

Clarified that urlize and urlizetrunc should only be applied to plain text. Refs #5202.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/templates.txt

    r5710 r5937  
    13271327Converts URLs in plain text into clickable links. 
    13281328 
     1329Note that if ``urlize`` is applied to text that already contains HTML markup, 
     1330things won't work as expected. Apply this filter only to *plain* text. 
     1331 
    13291332urlizetrunc 
    13301333~~~~~~~~~~~ 
     
    13321335Converts URLs into clickable links, truncating URLs longer than the given 
    13331336character limit. 
     1337 
     1338As with urlize_, this filter should only be applied to *plain* text. 
    13341339 
    13351340**Argument:** Length to truncate URLs to