actually use ZWS instead of RLE

This commit is contained in:
Lynne 2018-11-27 21:29:50 +10:00
parent 978308736a
commit ad707fda96
No known key found for this signature in database
GPG Key ID: FB7B970303ACE499

View File

@ -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(