Thursday, April 28, 2011

Re: Transform words into links with regex

You need to use mark_safe. Otherwise Django will be protecting you from
potential malicious input.

http://docs.djangoproject.com/en/1.3/ref/utils/#django.utils.safestring.mark_safe

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment