Hello Ramda,

Here is the line of code in on my html page:

 <li><a href="/fsafety/search_detail{{object.id}}">{{ publication|
escape }}</a></l1>

How do I create the syntax for {{ tag|szafe }} ?

I'm just learning how to create the html templates with Django, so
please be patient.

Thanks,

Ana

On Dec 29, 11:07 am, "Ramdas S" <ram...@gmail.com> wrote:
> try autoescape or {{ tag|szafe }} options
>
>
>
> On Tue, Dec 30, 2008 at 12:34 AM, Ana <adles...@gmail.com> wrote:
>
> > Hello,
>
> > I have the tags <em>name</em> around particular words in the titles of
> > my data.  When I bring the titles from the PostGres database and
> > display on the html page the title appears with the tags (<em>name</
> > em>).  I am expecting the page to read the em tags and convert the
> > name to italics, not display the tags with the unitalisized name.  How
> > do I get django pages to display the results of html tags?
>
> > Thanks,
>
> > Ana
>
> --
> Ramdas S
> +91 9342 583 065
--~--~---------~--~----~------------~-------~--~----~
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