Author: mtredinnick Date: 2007-08-19 03:50:51 -0500 (Sun, 19 Aug 2007) New Revision: 5937
Modified: django/trunk/docs/templates.txt Log: Clarified that urlize and urlizetrunc should only be applied to plain text. Refs #5202. Modified: django/trunk/docs/templates.txt =================================================================== --- django/trunk/docs/templates.txt 2007-08-19 07:38:39 UTC (rev 5936) +++ django/trunk/docs/templates.txt 2007-08-19 08:50:51 UTC (rev 5937) @@ -1326,12 +1326,17 @@ Converts URLs in plain text into clickable links. +Note that if ``urlize`` is applied to text that already contains HTML markup, +things won't work as expected. Apply this filter only to *plain* text. + urlizetrunc ~~~~~~~~~~~ Converts URLs into clickable links, truncating URLs longer than the given character limit. +As with urlize_, this filter should only be applied to *plain* text. + **Argument:** Length to truncate URLs to wordcount --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
