You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2011/04/16 22:04:25 UTC

svn commit: r1094043 - /couchdb/branches/1.0.x/share/www/script/futon.format.js

Author: jan
Date: Sat Apr 16 20:04:24 2011
New Revision: 1094043

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

Modified:
    couchdb/branches/1.0.x/share/www/script/futon.format.js

Modified: couchdb/branches/1.0.x/share/www/script/futon.format.js
URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/share/www/script/futon.format.js?rev=1094043&r1=1094042&r2=1094043&view=diff
==============================================================================
--- couchdb/branches/1.0.x/share/www/script/futon.format.js [utf-8] (original)
+++ couchdb/branches/1.0.x/share/www/script/futon.format.js [utf-8] Sat Apr 16 20:04:24 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;")
                    ;
     },