summaryrefslogtreecommitdiff
path: root/source/github-helpers
diff options
context:
space:
mode:
Diffstat (limited to 'source/github-helpers')
-rw-r--r--source/github-helpers/dom-formatters.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/github-helpers/dom-formatters.tsx b/source/github-helpers/dom-formatters.tsx
index 819c6a7e..10ec8062 100644
--- a/source/github-helpers/dom-formatters.tsx
+++ b/source/github-helpers/dom-formatters.tsx
@@ -80,6 +80,10 @@ export function linkifyURLs(element: Element): Element[] | void {
},
});
+ if (linkified.lastChild?.textContent === '…') { // Link is followed by …
+ return;
+ }
+
if (linkified.children.length === 0) { // Children are <a>
return;
}