diff --git a/openlp/plugins/remotes/html/openlp.js b/openlp/plugins/remotes/html/openlp.js index 8e4f1cbfc..5c991a018 100644 --- a/openlp/plugins/remotes/html/openlp.js +++ b/openlp/plugins/remotes/html/openlp.js @@ -209,7 +209,7 @@ window.OpenLP = { showAlert: function (event) { event.preventDefault(); var text = "{\"request\": {\"text\": \"" + - $("#alert-text").val().replace("\\", "\\\\").replace("\"", "\\\"") + + $("#alert-text").val().replace(/\\/g, "\\\\").replace(/"/g, "\\\"") + "\"}}"; $.getJSON( "/api/alert",