Monday, April 30, 2012

Python Pyramid & Chameleon templating language escapes html

I can't make sense of chameleon's tags. I'm a django user, but decided to introduce my CompSci course mates and myself to Pyramid, since I though more lightweight = easier to learn.



At the moment the ${} tag is escaping any html tags I'm trying to output through it. In django there was some way to specify that a variable is "safe" and doesn't need to be escaped.



How can I do the same thing in Pyramid / Chameleon?





No comments:

Post a Comment