[Zope] <dtml-var xxxx javascript_quote>

Loren Stafford lstafford@morphics.com
Fri, 17 Aug 2001 13:50:01 -0700


I find myself stuffing arbitrary strings into javascript pop-up displays,
but those strings often contain characters (e.g. quotes) that break the
genearated javascript syntax. I know there is no javascript_quote argument
for dtml-var, and I probably have to filter the string with an external
method.

Does anyone have such an external method already in use that you could share
with the list?

-- Thanks
-- Loren