From 373fa01b6e47973cca19dda2d7fbce8d19eaed80 Mon Sep 17 00:00:00 2001 From: Eduard Kuzmenko Date: Mon, 25 Apr 2022 03:28:37 +0300 Subject: [PATCH] Fix links with & --- .env | 4 ++-- src/lib/richtextprocessor.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env b/.env index 5624b970..905b628d 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ API_ID=1025907 API_HASH=452b0359b988148995f22ff0f4229750 VERSION=1.4.3 -VERSION_FULL=1.4.3 (171) -BUILD=171 +VERSION_FULL=1.4.3 (172) +BUILD=172 diff --git a/src/lib/richtextprocessor.ts b/src/lib/richtextprocessor.ts index 3e0c40ac..27e64362 100644 --- a/src/lib/richtextprocessor.ts +++ b/src/lib/richtextprocessor.ts @@ -756,8 +756,8 @@ namespace RichTextProcessor { } const href = (currentContext || typeof electronHelpers === 'undefined') - ? encodeEntities(url) - : `javascript:electronHelpers.openExternal('${encodeEntities(url)}');`; + ? url + : `javascript:electronHelpers.openExternal('${url}');`; element = document.createElement('a'); element.className = 'anchor-url';