Oops, it would actually be
title={% filter force_escape %}"{{ villa.name }}"{% endfilter %}

Sorry.
--
Alex Robbins
5Q Communications, Inc.
http://www.5Qcommunications.com/
alex.robb...@5qcommunications.com
800-747-4214 ext 913 (p)
http://www.ask5q.com/twitter/



On Thu, Feb 25, 2010 at 8:33 AM, Alex Robbins
<alexander.j.robb...@gmail.com> wrote:
> I think you can do that with title={% filter force_escape
> %}"{{ villa.name }}"{% endfilter %}. Haven't tried it though.
>
> Alex
>
> On Feb 24, 8:36 am, Federico Capoano <nemesis.des...@libero.it> wrote:
>> Hello to all,
>>
>> simple question:
>>
>> I have the following HTML in a template:
>> <a href="#" title="More details on &quot;{{ villa.name }}&quot;
>> class="tooltip">
>>
>> But it gets rendered this way:
>> <a href="#" title="More details on "{{ villa.name }}" class="tooltip">
>>
>> That is, the &quot; entity is converted to the respective character,
>> ". Very nice, but i'd need &quot;
>>
>> Is there a filter or something i can use to tell the Django Template
>> System to render &quot; ?
>>
>> Thanks in advance.
>>
>> Federico
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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