mirror of
https://github.com/pelican-plugins/share-post.git
synced 2025-10-15 17:08:54 +02:00
Fixed hashtags error
This commit is contained in:
parent
59f405d719
commit
0fdb907f1f
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ def create_link_mastodon(title, url, content):
|
|||
taglist = content.tags
|
||||
new_taglist = []
|
||||
for i in taglist:
|
||||
new_taglist.append("#" + str(i))
|
||||
new_taglist.append("%23" + str(i))
|
||||
hashtags = " ".join(str(x).replace(" ", "") for x in new_taglist)
|
||||
else:
|
||||
hashtags = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue