Fix links with &

This commit is contained in:
Eduard Kuzmenko 2022-04-25 03:28:37 +03:00
parent 5536f6ad2b
commit 373fa01b6e
2 changed files with 4 additions and 4 deletions

4
.env
View File

@ -1,5 +1,5 @@
API_ID=1025907 API_ID=1025907
API_HASH=452b0359b988148995f22ff0f4229750 API_HASH=452b0359b988148995f22ff0f4229750
VERSION=1.4.3 VERSION=1.4.3
VERSION_FULL=1.4.3 (171) VERSION_FULL=1.4.3 (172)
BUILD=171 BUILD=172

View File

@ -756,8 +756,8 @@ namespace RichTextProcessor {
} }
const href = (currentContext || typeof electronHelpers === 'undefined') const href = (currentContext || typeof electronHelpers === 'undefined')
? encodeEntities(url) ? url
: `javascript:electronHelpers.openExternal('${encodeEntities(url)}');`; : `javascript:electronHelpers.openExternal('${url}');`;
element = document.createElement('a'); element = document.createElement('a');
element.className = 'anchor-url'; element.className = 'anchor-url';