From ef792ccb14e64cc3fed3bc5588156777bf95f51f Mon Sep 17 00:00:00 2001 From: Isaac RF Date: Mon, 13 Jan 2025 17:30:49 +0100 Subject: [PATCH 1/2] Fix: Minor typo on bluesky hashtag URL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix /hastag → /hashtag --- packages/astro-embed-bluesky/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro-embed-bluesky/src/utils.ts b/packages/astro-embed-bluesky/src/utils.ts index 6aaf59c..f4ba03f 100644 --- a/packages/astro-embed-bluesky/src/utils.ts +++ b/packages/astro-embed-bluesky/src/utils.ts @@ -37,7 +37,7 @@ export function renderPostAsHtml(post?: AppBskyFeedDefs.PostView | Post) { segment.mention?.did )}">${escapeHTML(segment.text)}`; } else if (segment.isTag()) { - html += `#${escapeHTML(segment.tag?.tag)}`; } else { From 8051231b0bed0d254552ade12d2f0783cd0a9035 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Mon, 13 Jan 2025 17:53:16 +0100 Subject: [PATCH 2/2] Add changeset --- .changeset/clean-falcons-remain.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/clean-falcons-remain.md diff --git a/.changeset/clean-falcons-remain.md b/.changeset/clean-falcons-remain.md new file mode 100644 index 0000000..bf3f818 --- /dev/null +++ b/.changeset/clean-falcons-remain.md @@ -0,0 +1,5 @@ +--- +"@astro-community/astro-embed-bluesky": patch +--- + +Fixes hashtag links in Bluesky embeds