common api: add support for formatting messages outside of twitter-style plain text
[akkoma] / lib / pleroma / web / twitter_api / twitter_api_controller.ex
index b3a56b27ed74a31b9e588824acfdab69109a3c6e..244d31dda75ed88d70a68ef83a98ed691a798339 100644 (file)
@@ -423,7 +423,7 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
             {String.trim(name, ":"), url}
           end)
 
-        bio_html = CommonUtils.format_input(bio, mentions, tags)
+        bio_html = CommonUtils.format_input(bio, mentions, tags, "text/plain")
         Map.put(params, "bio", bio_html |> Formatter.emojify(emoji))
       else
         params