From f7752255b0443b37357acd34b3fdc1487ca610db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20P=C3=B5ldaru?= Date: Tue, 13 Mar 2012 11:05:07 +0200 Subject: [PATCH] Encode characters using URL encoding not JSON unicode markup. --- openlp/plugins/remotes/html/openlp.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/plugins/remotes/html/openlp.js b/openlp/plugins/remotes/html/openlp.js index 8377912f8..5c467d123 100644 --- a/openlp/plugins/remotes/html/openlp.js +++ b/openlp/plugins/remotes/html/openlp.js @@ -281,7 +281,8 @@ window.OpenLP = { }, escapeString: function (string) { string = string.replace(/\\/g, "\\\\").replace(/"/g, "\\\"") - return string.replace(/#/g, "\\u0023").replace(/;/g, "\\u003B") + string = string.replace(/#/g, "%23").replace(/;/g, "%3B") + return string } } // Service Manager