This commit is contained in:
parent
04eec0113e
commit
9616eee62f
1 changed files with 1 additions and 1 deletions
|
|
@ -361,7 +361,7 @@ func (post *Post) ProcessFacets(aliases []Records) string {
|
|||
link := fmt.Sprintf(`<a href="%s">%s</a>`, feature.URI, post.Text[start:end])
|
||||
result.WriteString(link)
|
||||
case "app.bsky.richtext.facet#tag":
|
||||
link := fmt.Sprintf(`<a href="https://bsky.app/search?q=%%23%s">%s</a>`, feature.Tag, post.Text[start:end])
|
||||
link := fmt.Sprintf(`<a href="https://bsky.app/hashtag/%s">%s</a>`, feature.Tag, post.Text[start:end])
|
||||
result.WriteString(link)
|
||||
default:
|
||||
result.WriteString(post.Text[start:end])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue