sorry its safe
try
<li><a href="/fsafety/search_detail{{object.id}}">{{ publication|
safe }}</a></l1>
it usually works for me.
Next time, can you put your code in dpaste.com, it will be easier for others
to help you
On Tue, Dec 30, 2008 at 1:30 AM, Ana <[email protected]> wrote:
>
> 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" <[email protected]> wrote:
> > try autoescape or {{ tag|szafe }} options
> >
> >
> >
> > On Tue, Dec 30, 2008 at 12:34 AM, Ana <[email protected]> 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
> >
>
--
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 [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
-~----------~----~----~----~------~----~------~--~---