This happen because django have the autoescape set to on by default.

check this http://www.djangoproject.com/documentation/templates/#autoescape
and this http://www.djangoproject.com/documentation/templates/#safe

an example:
<div>{{ blog.content|safe }}</div>

On 26 Dic, 18:22, goober <[EMAIL PROTECTED]> wrote:
> Greetings!
>
> I have been wrestling with django site-administration on and off for
> the past few days. I am trying to populate a simple blog using the
> models provided in the django tutorial. However, I am puzzled by
> adding simple text with html tags within the application. By this I
> mean if I mean:
>
> <h1>Sample Text </h1>
> <p>blah, blah, blah....</p>
>
> I bring up Firefox or IE 7.x and I see the html tags embedded within
> the text.
> I am using the latest Django 0.97, Ubuntu Feisty 7.04 with the latest
> patch updates.
>
> Any suggestions woudl be appreciated.
>
> Regards
--~--~---------~--~----~------------~-------~--~----~
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