Re: Problems rendering HTML stored in database.

2009-03-06 Thread Muslu Yüksektepe
i think u can use markdown {{ html_text|markup }} or {{ html_text|textile }} try this 2009/3/6 nils > > Im running django-1.0.2-final with the django.contrib.admin in my > application. > It's a blog-like application so i implemented tiny-mce (wysiwyg- > editor) in the admin interface. > It s

Re: Problems rendering HTML stored in database.

2009-03-06 Thread hugoto
Yeah, the default behaviour in django templates is to escape html code, so if you render something like hello, the template will convert it to

... etc. This is for prevent the script inyections in forms. So if you want to show the raw html as is in the database you have no escape the text wit


Problems rendering HTML stored in database.

2009-03-06 Thread nils
Im running django-1.0.2-final with the django.contrib.admin in my application. It's a blog-like application so i implemented tiny-mce (wysiwyg- editor) in the admin interface. It saves/deletes/updates as supposed, but the view+template does not render the HTML-tags, the HTML-tags renders as plain