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 = soup.get_text()
|
||||||
toot = toot.rstrip("\n") #remove trailing newline
|
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)
|
return(toot)
|
||||||
|
|
||||||
client = Mastodon(
|
client = Mastodon(
|
||||||
|
|
Reference in New Issue