Hello, PT>Sam, I think this needs an escape=quote parameter. What do you think. PT>Would only be a couple of lines added.
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. Within JavaScript there are multiple quoting methods you might want as well. Even if you called it "jsstringquote" to be specific, it's still not clear that it's intended for a string inside single quotes (since JavaScript allows you to use double quotes for strings, too). I like the idea of adding a simple way to add functions to do quoting. Humbly, Andrew ---------------------------------------------------------------------- Andrew Ho http://www.tellme.com/ [EMAIL PROTECTED] Engineer [EMAIL PROTECTED] Voice 650-930-9062 Tellme Networks, Inc. 1-800-555-TELL Fax 650-930-9101 ---------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
