static void escapeQuotes( nsAString &aString ) {
static void escapeQuotes( nsString &aString ) {
static void escapeQuotes( nsAString &aString ) {    PRInt32 offset = -1;    while( 1 ) {       // Find next '"'.       offset = aString.FindChar( '"', ++offset );       if ( offset == kNotFound ) {           // No more quotes, exit.           break;       } else {           // Insert back-slash ahead of the '"'.           aString.Insert( PRUnichar('\\'), offset );           // Increment offset because we just inserted a slash           offset++;       }    }    return;}