Sorry but I was working with an old documentation!
I fixed it with th e filter 'safe'

thank you for the quick answer

On 6 nov, 17:48, "Ramiro Morales" <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 6, 2008 at 2:16 PM, gontran <[EMAIL PROTECTED]> wrote:
>
> > hello,
>
> > I just started to learn django, so my question may be stupid:
>
> > In my template, I would like to display a html string (stored in my
> > database). My problem is that it displays the string but it
> > automatically escapes the html tags.
>
> > for example, if my string is: <p>my text</p>
> >  instade of showing: my text
> >  it shows: <p>my text</p>
>
> > any idea to fix that?
>
> Searching over the documentation with terms like "automatically
> escaping" or "autoescaping"
> gives this
>
> http://docs.djangoproject.com/en/dev/topics/templates/
>
> as the first hit. Unsurprisingly, one of the sections in that document
> is "Automatic HTML escaping"
>
> Try reading it to know how you can control the feature.
>
> Regards,
>
> --
>  Ramiro Morales
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to