Use the t tag for hashtags
Changelog-Changed: #hashtags now use the `t` tag instead of `hashtag` Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -264,7 +264,7 @@ func make_post_tags(post_blocks: [PostBlock], tags: [[String]]) -> PostTags {
|
||||
blocks.append(block)
|
||||
}
|
||||
case .hashtag(let hashtag):
|
||||
new_tags.append(["hashtag", hashtag.lowercased()])
|
||||
new_tags.append(["t", hashtag.lowercased()])
|
||||
blocks.append(.hashtag(hashtag))
|
||||
case .text(let txt):
|
||||
blocks.append(Block.text(txt))
|
||||
|
||||
Reference in New Issue
Block a user