summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-06-16 12:48:49 +0200
committerPatrick Simianer <p@simianer.de>2016-06-16 12:48:49 +0200
commite534f15ba401c6390adce293e49ecb6b15604136 (patch)
tree50bd2e051e4cd969957e1b1ce3e93aec92be1436 /js
parent2305d1505c6e441301b298cecf81b4a98b495ffb (diff)
fix
Diffstat (limited to '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 != "") {