summaryrefslogtreecommitdiff
path: root/js/interface.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/interface.js')
-rw-r--r--js/interface.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/interface.js b/js/interface.js
index b86bf50..089f417 100644
--- a/js/interface.js
+++ b/js/interface.js
@@ -286,7 +286,7 @@ var next = function ()
}
send_data["key"] = key;
- send_data["name"] = $("#name").val();
+ send_data["name"] = encodeURIComponent($("#name").val().replace(/"/g, ' ').trim());
// send data
if (oov_correct.value=="false" && post_edit != "") {