couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1094041 - /couchdb/trunk/share/www/script/futon.format.js
Date Sat, 16 Apr 2011 20:03:13 GMT
Author: jan
Date: Sat Apr 16 20:03:13 2011
New Revision: 1094041

URL: http://svn.apache.org/viewvc?rev=1094041&view=rev
Log:
enable greedy replacements

Modified:
    couchdb/trunk/share/www/script/futon.format.js

Modified: couchdb/trunk/share/www/script/futon.format.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/futon.format.js?rev=1094041&r1=1094040&r2=1094041&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/futon.format.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/futon.format.js [utf-8] Sat Apr 16 20:03:13 2011
@@ -17,8 +17,8 @@
       return string.replace(/&/g, "&")
                    .replace(/</g, "&lt;")
                    .replace(/>/g, "&gt;")
-                   .replace(/"/, "&quot;")
-                   .replace(/'/, "&#39;")
+                   .replace(/"/g, "&quot;")
+                   .replace(/'/g, "&#39;")
                    ;
     },
 



Mime
View raw message