[Zope] Lobbying (was: [Zope] html_quote in python methods?)

Evan Simpson evan@4-am.com
Wed, 3 Jan 2001 10:24:35 -0500


From: Chris Withers <chrisw@nipltd.com>
> <dtml-call "somemethod(absolute_url()+urlquote(_.getitem(id))">

Well, in Python Scripts at least, you can do::

  from Products.PythonScripts.standard import special_formats
  url_quote = special_formats['url-quote']
  return url_quote("<OK?>")

It's not great, but it's something.

Cheers,

Evan @ digicool & 4-am