[rkward-cvs] SF.net SVN: rkward:[2739] trunk/rkward/rkward/plugins/plots/plot_options.js

tfry at users.sourceforge.net tfry at users.sourceforge.net
Thu Feb 11 20:52:23 UTC 2010


Revision: 2739
          http://rkward.svn.sourceforge.net/rkward/?rev=2739&view=rev
Author:   tfry
Date:     2010-02-11 20:52:23 +0000 (Thu, 11 Feb 2010)

Log Message:
-----------
Correct quoting behavior

Modified Paths:
--------------
    trunk/rkward/rkward/plugins/plots/plot_options.js

Modified: trunk/rkward/rkward/plugins/plots/plot_options.js
===================================================================
--- trunk/rkward/rkward/plugins/plots/plot_options.js	2010-02-11 20:29:11 UTC (rev 2738)
+++ trunk/rkward/rkward/plugins/plots/plot_options.js	2010-02-11 20:52:23 UTC (rev 2739)
@@ -5,7 +5,7 @@
 		label = getValue ("default_" + labelname);
 		quoted = true;
 	}
-	if ((label != "") && (quoted)) label = "\"" + label.replace ('"', '\\"') + "\"";
+	if ((label != "") && (quoted)) label = quote (label);
 	if (label != "") label = ", " + labelname + "=" + label;
 
 	return label;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list