Re: [htmltmpl] escaping quotes [was: (no subject)]
Brought to you by:
samtregar
From: Roger B. W. <ro...@fi...> - 2002-07-08 08:50:55
|
On Mon, Jul 08, 2002 at 12:39:13AM -0700, Andrew Ho wrote: >I think adding a generic escape=quote is a bad idea. That doesn't give any >context, and JavaScript strings quote quotes way differently from (for >example) HTML or SQL strings. And SQL quoting is server-specific; and, perhaps more to the point, there's already a perfectly good quoting method in DBI for SQL strings. >I like the idea of adding a simple way to add functions to do quoting. Agreed. Roger |