mirror of
https://github.com/ioistired/pleroma-ebooks.git
synced 2024-11-20 02:14:52 +01:00
actually use ZWS instead of RLE
This commit is contained in:
parent
978308736a
commit
ad707fda96
2
main.py
2
main.py
@ -80,7 +80,7 @@ def extract_toot(toot):
|
||||
|
||||
toot = soup.get_text()
|
||||
toot = toot.rstrip("\n") #remove trailing newline
|
||||
toot = toot.replace("@", "@\u202B") #put a zws between @ and username to avoid mentioning
|
||||
toot = toot.replace("@", "@\u200B") #put a zws between @ and username to avoid mentioning
|
||||
return(toot)
|
||||
|
||||
client = Mastodon(
|
||||
|
Loading…
Reference in New Issue
Block a user