[Zope] How to use DocumentTemplate custom formats from Python?

Dieter Maurer dieter@handshake.de
Thu, 31 Aug 2000 21:20:11 +0200 (CEST)


=?iso-8859-1?q?Hamish=20Lawson?= writes:
 >  .... <dtml-var name="name" fmt="javascript_quote"> ....
Someone else already answered your question.

I would like to ask a consistency question:

  All other "*_quote" features are implemented via *arguments*
  (sql_quote, html_quote, url_quote).
  Why do you want to make your "javascript_quote" a
  format?
  Note, that you may want to quote a (otherwise) formatted
  value.


Dieter