On Aug 24, 1:18 am, "Tim Kersten" <[EMAIL PROTECTED]> wrote:
> Seehttp://www.djangoproject.com/documentation/templates/#automatic-html-...
>
> Tim ^,^

It doesn't look as the form object is subject to this automatic html
escaping, because you can pass html into the form object like this:
forms.CharField( help_text=_(u'<h1>look! html :-)</h1>'),)
When I render the form as {{form}} the html in the help text is
displayed as is and not escaped, but the html in the
forms.ValidationError is escaped.
Is there any way to control this behavior, or do I have to build the
form by hand to do it?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to