diff options
Diffstat (limited to 'rel/overlay/share/www/script/futon.format.js')
-rw-r--r-- | rel/overlay/share/www/script/futon.format.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rel/overlay/share/www/script/futon.format.js b/rel/overlay/share/www/script/futon.format.js index 0d536e36..8d9b7f5c 100644 --- a/rel/overlay/share/www/script/futon.format.js +++ b/rel/overlay/share/www/script/futon.format.js @@ -16,7 +16,10 @@ escape: function(string) { return string.replace(/&/g, "&") .replace(/</g, "<") - .replace(/>/g, ">"); + .replace(/>/g, ">") + .replace(/"/, """) + .replace(/'/, "'") + ; }, // JSON pretty printing |