[Zope] String Substitution

Tim Russell snark@ou.edu
Tue, 11 Jul 2000 15:43:35 -0500


I'm trying to convert data entered in a form to a format that I can
manipulate later, specifically, I need to convert " (double quotes) and
possibly ' (single-quotes) to the appropriate HTML substitute, like &quot .
What's the easiest way to do this? Is there built-in Zope functionality for
this, or will it be necessary to use an external Python method? Thanks..