You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
I've noticed the character & is being transformed to & when posted to Mastodon (see here). I guess this comes from how the text scrapped from tweets is considered (HTML instead of text).
Any idea how to fix that?
The text was updated successfully, but these errors were encountered:
You could add a new function that'll do formatting:
(defn format-text [text]
(string/replace text #"&" "and"))
and then change {:status (-> status-text resolve-urls set-signature)} to {:status (-> status-text resolve-urls format-text set-signature)} to post process the status text it's posted.
I've noticed the character
&
is being transformed to&
when posted to Mastodon (see here). I guess this comes from how the text scrapped from tweets is considered (HTML instead of text).Any idea how to fix that?
The text was updated successfully, but these errors were encountered: