you can also turn off auto escape.
look at http://docs.djangoproject.com/en/dev/ref/templates/builtins/#autoescape
in a template you would
{% autoescape off %}
{{ value-with-html }}
{% endautoescape %}


On Mar 2, 10:48 pm, slenno1 <slen...@gmail.com> wrote:
> Hey everyone,
>      I am currently working with a section of a site that takes user
> input using Django forms:
>
>   description = forms.CharField(widget=forms.Textarea(attrs={'rows':
> '10', 'cols': '80'}))
>
> The only problem however is that this ignores any html tags that are
> added in by the user and just prints them along with the text entered
> in by the user. For example, a user may type in "The quick brown fox
> <b>jumps</b> over the lazy dog", with the word 'jumps' intended to be
> bold, but the html tags are just printed a long with the text. Is this
> because I am possibly using the wrong widget? Any feedback is greatly
> appreciated, thanks!

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

Reply via email to