mirror of
https://github.com/AgathaSorceress/mstdn-ebooks.git
synced 2025-01-24 03:01:39 +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 = 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…
x
Reference in New Issue
Block a user