summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2011-04-16 20:03:56 +0000
committerJan Lehnardt <jan@apache.org>2011-04-16 20:03:56 +0000
commit7de9ce5408b4cee176130520bcecf742ea6a6c2a (patch)
treeaa78739427650f95daa3e7067c0ba7b96bbe26d0 /share
parentf02041ef74bf356a00c98e220b0841c4b3fbd0a9 (diff)
enable greedy replacements
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094042 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share')
-rw-r--r--share/www/script/futon.format.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/futon.format.js b/share/www/script/futon.format.js
index 8d9b7f5c..0eb9b104 100644
--- a/share/www/script/futon.format.js
+++ b/share/www/script/futon.format.js
@@ -17,8 +17,8 @@
return string.replace(/&/g, "&amp;")
.replace(/</g, "&lt;")
.replace(/>/g, "&gt;")
- .replace(/"/, "&quot;")
- .replace(/'/, "&#39;")
+ .replace(/"/g, "&quot;")
+ .replace(/'/g, "&#39;")
;
},