Hey sorry guys, i couldn't find this post anymore!
Thanks for the answers but i've found the resolution to my problem in
the documentation, i just forgot in the beginning where it says about
{% autoescape off %}
This is the tag to use to prevent the template system from converting
"
in
"
Exa
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, A
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 wrote:
> Hello to all,
>
> simple question:
>
> I have the following HTML in a template:
>
>
> But it gets rendered this way:
>
>
>
On Feb 24, 2:36 pm, Federico Capoano wrote:
> Hello to all,
>
> simple question:
>
> I have the following HTML in a template:
>
>
> But it gets rendered this way:
>
>
> That is, the " entity is converted to the respective character,
> ". Very nice, but i'd need "
>
> Is there a filter or somethi
Hello to all,
simple question:
I have the following HTML in a template:
But it gets rendered this way:
That is, the " entity is converted to the respective character,
". Very nice, but i'd need "
Is there a filter or something i can use to tell the Django Template
System to render " ?
Thank
5 matches
Mail list logo