Author: jan
Date: Sat Apr 16 20:03:56 2011
New Revision: 1094042
URL: http://svn.apache.org/viewvc?rev=1094042&view=rev
Log:
enable greedy replacements
Modified:
couchdb/branches/1.1.x/share/www/script/futon.format.js
Modified: couchdb/branches/1.1.x/share/www/script/futon.format.js
URL:
http://svn.apache.org/viewvc/couchdb/branches/1.1.x/share/www/script/futon.format.js?rev=1094042&r1=1094041&r2=1094042&view=diff
==============================================================================
--- couchdb/branches/1.1.x/share/www/script/futon.format.js [utf-8] (original)
+++ couchdb/branches/1.1.x/share/www/script/futon.format.js [utf-8] Sat Apr 16
20:03:56 2011
@@ -17,8 +17,8 @@
return string.replace(/&/g, "&")
.replace(/</g, "<")
.replace(/>/g, ">")
- .replace(/"/, """)
- .replace(/'/, "'")
+ .replace(/"/g, """)
+ .replace(/'/g, "'")
;
},