diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index 4a760f026..106ec068f 100644 --- a/app/src/menus/protyle.ts +++ b/app/src/menus/protyle.ts @@ -744,8 +744,8 @@ export const linkMenu = (protyle: IProtyle, linkElement: HTMLElement, focusText let anchor = linkElement.textContent.replace(Constants.ZWSP, ""); if (!anchor && linkAddress) { anchor = linkAddress.replace("https://", "").replace("http://", ""); - if (anchor.length > 16) { - anchor = anchor.substring(0, 16) + "..."; + if (anchor.length > 24) { + anchor = anchor.substring(0, 24) + "..."; } linkElement.innerHTML = Lute.EscapeHTMLStr(anchor); }