Re: How TinyMCE don't displays Html tags to vistors

2011-09-20 Thread Aljoša Mohorović
On Tue, Sep 20, 2011 at 8:18 AM, Tsung-Hsien  wrote:
> I've been done my admin interface with TinyMCE. However,  aftering
> editing, I see words with HTML tags update to my website.
>
> What's a good way to solve this?

you need to add "{{ tinymce_content|safe }}", docs:
https://docs.djangoproject.com/en/1.3/ref/templates/builtins/#safe

Aljosa

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



How TinyMCE don't displays Html tags to vistors

2011-09-20 Thread Tsung-Hsien
I've been done my admin interface with TinyMCE. However,  aftering
editing, I see words with HTML tags update to my website.

What's a good way to solve this?

Thank you!

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.