actually use ZWS instead of RLE
This commit is contained in:
parent
978308736a
commit
ad707fda96
1 changed files with 1 additions and 1 deletions
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(
|
||||||
|
|
Loading…
Reference in a new issue