Skip to content
Browse files

Clarified that urlize and urlizetrunc should only be applied to plain…

… text. Refs #5202.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 90c177f commit cfd5b184fba4f51a6756fecaf4ec4272f3e23bfc @malcolmt malcolmt committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 docs/templates.txt
5 docs/templates.txt
@@ -1326,12 +1326,17 @@ urlize
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.
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

0 comments on commit cfd5b18

Please sign in to comment.
Something went wrong with that request. Please try again.