awesome! that's just what I was looking for.
cheers

On Dec 3, 11:43 am, Thomas Johnson <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> kettle wrote:
> > Hi, I have a quick question, I'm using the latest version of pylons,
> > and I'd like to return a chunk of html as a c.myvar style variable,
> > and then interpolate this into a template.
> > Building the variable value is fine, but the <, >, & etc. characters
> > always get escaped when the template pulls them in.  There must be a
> > way to override this behavior, no?  I realize that this is probably an
> > indication that said html chunk should be moved to the template, but
> > that is somewhat impractical at the moment.
> > Cheers
>
> I am not sure if this is the "correct" way or not but I do
> h.literal(c.myvar)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org
>
> iD8DBQFJNfJbp0KneERU9LsRAkkeAJ9YXuTcMf8Ij4DvDQsr3vhBlWsW9ACeKLr7
> v/Grh+ydUBRqb9tkltXnTHo=
> =lr0U
> -----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to