From ad707fda96d05079d86ebb7e6cab3403553c6cb9 Mon Sep 17 00:00:00 2001 From: Lynne Date: Tue, 27 Nov 2018 21:29:50 +1000 Subject: [PATCH] actually use ZWS instead of RLE --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index cd57219..f7c1fc0 100755 --- a/main.py +++ b/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(