I want to be able to return an HTML comment from a ZPT object. The purpose of this comment is to contain technical error messages that will be hidden from the normal user but available to those who need it. The idea is much like zope's error pages that put a stack trace inside an HTML comment. The problems I'm running into are : 1) ZPT doesn't expand TAL statements inside an HTML comment 2) Other means of generating the comment tags result in html-quoting the commend tag which causes the browser to render it as normal text. I've tried the following : <span tal:replace="python:'<!--'"> </span> <span tal:replace="python:'\x3c!--'"> </span> How might I achieve the desired effect? TIA, -D -- Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge Him, and He will make your paths straight. Proverbs 3:5-6 GnuPG key : http://dman.ddts.net/~dman/public_key.gpg