From 40379acc6ceb1697c8c746927a7ff2c3ba08bbb8 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Sat, 31 Aug 2024 00:55:18 +0200 Subject: [PATCH] Add rel="noreferrer" to created links in received messages --- public/scripts/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/ui.js b/public/scripts/ui.js index c9bd3658..873e6121 100644 --- a/public/scripts/ui.js +++ b/public/scripts/ui.js @@ -2101,7 +2101,7 @@ class ReceiveTextDialog extends Dialog { let linkNodePlaceholder = `${p}${m}`; // add linkNodePlaceholder to text node and save a reference to linkNodes object - linkNodes[linkNodePlaceholder] = `${url}`; + linkNodes[linkNodePlaceholder] = `${url}`; return `${whitespaceOrSpecial}${linkNodePlaceholder}`; } // link is not valid -> do not replace