From 7de9ce5408b4cee176130520bcecf742ea6a6c2a Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Sat, 16 Apr 2011 20:03:56 +0000 Subject: enable greedy replacements git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1094042 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/futon.format.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/www/script') 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, "&") .replace(//g, ">") - .replace(/"/, """) - .replace(/'/, "'") + .replace(/"/g, """) + .replace(/'/g, "'") ; }, -- cgit v1.2.3