-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 george hu wrote: > This is very cool, I changed .pt to: > > <html> > <head></head> > <body> > <span tal:replace="structure addform"> form </span> > </body> > > </html> > > and it works! It seems the genshi style ${...} is causing the problem. So > should it always be discouraged?
No, it works fine for values wich aren't markup: if you want a variable containing markup to be rendered without escaping, you need the 'structure' directive in TAL: the shortcut always escapes markup. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkriaUwACgkQ+gerLs4ltQ7tkQCfUa/CIOD1k3pzF3Jbe7FEd9bP VG0AnjNA3Gdg9WmvUZ8v2Sa0PirVZCiQ =qewe -----END PGP SIGNATURE----- _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev