I tried that too after the original post and that made no difference
spcontent is escaped HTML
and I thought that by marking it safe it wouldnt be escaped again in the 
pretty.html template

Thx
Mike

spcontent is HTML?

    from django.utils.safestring import mark_safe
    context = Context({
        'content' : mark_safe(spcontent),
        'title' : s.name,
    })

http://docs.djangoproject.com/en/1.3/ref/utils/#django.utils.safestring.mark_safe
http://docs.djangoproject.com/en/1.3/howto/custom-template-tags/#filters-and-auto-escaping

Cheers

Tom

-- 
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.




-- 
View this message in context: 
http://old.nabble.com/escaping-%28where-is-the-exit%29-tp31531487p31532857.html
Sent from the django-users mailing list archive at Nabble.com.

-- 
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.

Reply via email to