[Zope] returning an HTML comment from ZPT

dman dman@dman.ddts.net
Wed, 22 May 2002 23:29:55 -0500


--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 22, 2002 at 09:33:46PM -0500, Evan Simpson wrote:
| dman wrote:
| >    <span tal:replace=3D"python:'<!--'"> </span>
| >
| >How might I achieve the desired effect?
|=20
| <span tal:replace=3D"structure string:&lt;!--"></span>
| This is a comment
| <span tal:replace=3D"structure string:--&gt;"></span>
|=20
| Yes, it looks unlikely, but I've tested it :-)

It does work.  Thanks!  I don't think I've seen that "structured"
argument mentioned in the book.  Did I just miss it or is not
documented (there)?

-D

--=20

Through love and faithfulness sin is atoned for;
through the fear of the Lord a man avoids evil.
        Proverbs 16:6
=20
GnuPG key : http://dman.ddts.net/~dman/public_key.gpg


--wac7ysb48OaltWcw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjzscEMACgkQO8l8XBKTpRQ5/wCgsiUHO0kMtAtkFK+nhpoFhfnZ
dAAAnRERn3ZicCedrH0GBhCyS0co7yLv
=zNvj
-----END PGP SIGNATURE-----

--wac7ysb48OaltWcw--