Skip to content

Commit

Permalink
Merge pull request #94 from WesSouza/patch-1
Browse files Browse the repository at this point in the history
Update getAccountNameAndDisplayName so ellipsis are not required in user links
  • Loading branch information
kawamataryo authored Nov 14, 2024
2 parents c47f022 + 4d94ef6 commit 37a1a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/domHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const getAccountNameAndDisplayName = (userCell: Element) => {
const twDisplayName = displayNameEl?.textContent;
const bskyHandle =
userCell.textContent?.match(/([^/\s]+\.bsky\.social)/)?.[1] ??
userCell.textContent?.match(/bsky\.app\/profile\/([^/\s]+)…/)?.[1] ??
userCell.textContent?.match(/bsky\.app\/profile\/([^/\s]+)…?/)?.[1] ??
null;

return {
Expand Down

0 comments on commit 37a1a0b

Please sign in to comment.