Re: preventing template from converting html entities

2010-03-11 Thread Federico Capoano
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

Re: preventing template from converting html entities

2010-02-25 Thread Alex Robbins
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

Re: preventing template from converting html entities

2010-02-25 Thread Alex Robbins
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: > > >

Re: preventing template from converting html entities

2010-02-24 Thread Daniel Roseman
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

preventing template from converting html entities

2010-02-24 Thread Federico Capoano
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