From 1b514efdf808e27a012facd9a26563a452e040f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20L=2E=20=C5=A0ijanec?= Date: Thu, 14 May 2020 20:46:13 +0200 Subject: edit: nope, no need for regex .text() strips comments --- js/messaging.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/messaging.js b/js/messaging.js index 8138ed5..38b1625 100644 --- a/js/messaging.js +++ b/js/messaging.js @@ -502,20 +502,18 @@ function setupEventListeners() { var addrparts = window.location.href.split("/"); // engleski var encrypted_message = sjcl.encrypt($("#msg-e2ee-pass-input").val(), msgcontent); - msgcontent = `
This message was encrypted by BežiApp.