mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-26 20:34:44 +01:00
Follow-up (#1362)
This commit is contained in:
parent
2889920e35
commit
b7d26b4853
@ -268,7 +268,7 @@ const TextFormatter: FC<OwnProps> = ({
|
||||
]);
|
||||
|
||||
function handleLinkUrlConfirm() {
|
||||
const formattedLinkUrl = linkUrl.includes('://') ? linkUrl : `http://${linkUrl}`;
|
||||
const formattedLinkUrl = encodeURI(linkUrl.includes('://') ? linkUrl : `http://${linkUrl}`);
|
||||
|
||||
if (isEditingLink) {
|
||||
const element = getSelectedElement();
|
||||
|
Loading…
Reference in New Issue
Block a user