diff options
| -rw-r--r-- | frontend/src/main.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/main.ts b/frontend/src/main.ts index 306578d..9ede3bc 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -49,10 +49,10 @@ function convertFacets(text: string, facets: any[], toMarkown: boolean): string result += `[${facetText}](${facet.value})`; break; case 'mention': - result += `[@${facetText}](https://bsky.app/profile/${facet.value})`; + result += `[${facetText}](https://bsky.app/profile/${facet.value})`; break; case 'tag': - result += `[#${facetText}](https://bsky.app/hashtag/${facet.value})`; + result += `[${facetText}](https://bsky.app/hashtag/${facet.value})`; break; default: // in case Bluesky ever adds other facet types result += facetText; // if we don't recognize the type, just add it as plain text @@ -67,7 +67,7 @@ function convertFacets(text: string, facets: any[], toMarkown: boolean): string result += `<a href="https://bsky.app/profile/${facet.value}" target="_blank">${facetText}</a>`; break; case 'tag': - result += `<a href="https://bsky.app/hashtag/${facet.value}" target="_blank">#${facetText}</a>`; + result += `<a href="https://bsky.app/hashtag/${facet.value}" target="_blank">${facetText}</a>`; break; default: result += facetText; |
