Monday, November 08, 2010 at 12:05 AM.

on decodeEntities (s, flUntaint=true, flNeuterJavaScript=true) {
		<<1/22/02; 2:06:00 PM by DW
			<<New optional param, flNeuterJavaScript.
		<<12/12/01; 2:56:19 AM by JES
			<<Pass in flSkipMalformedEntities as true to the call to xml.entityDecode. Prevents unwanted macro errors when decoding numerical entities which are malformed.
		<<12/1/01; 3:20:31 PM by JES
	s = string.replaceAll (s, "'", "\'");
	s = xml.entityDecode (s, true, true);
	if flUntaint {
		s = radio.string.untaint (s, flNeuterJavaScript)};
	return (s)}

This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.