summaryrefslogtreecommitdiff
path: root/js/interface.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/interface.js')
-rw-r--r--js/interface.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/interface.js b/js/interface.js
index 781dfde..3341575 100644
--- a/js/interface.js
+++ b/js/interface.js
@@ -1,5 +1,5 @@
/*
- * (common) global vars
+ * Global vars
*
*/
var data, // global data object
@@ -244,7 +244,7 @@ var next = function ()
send_data["original_svg"] = document.getElementById("original_svg").value;
} else {
post_edit = $.trim(target_textarea.value);
- send_data["post_edit"] = post_edit;
+ send_data["post_edit"] = encodeURIComponent(post_edit);
send_data['type'] = 't';
}