Fix typo.
authorlain <lain@soykaf.club>
Sat, 31 Mar 2018 19:10:56 +0000 (21:10 +0200)
committerlain <lain@soykaf.club>
Sat, 31 Mar 2018 19:10:56 +0000 (21:10 +0200)
lib/pleroma/gopher/server.ex

index bf87e51ec2a300efe46e4a1b8a9979ee88119ffe..bfcac424f1137839bdd2981e6347e544c53e7bad 100644 (file)
@@ -82,7 +82,7 @@ defmodule Pleroma.Gopher.Server.ProtocolHandler do
 
       link("Post ##{activity.id} by #{user.nickname}", "/notices/#{activity.id}") <>
         info("#{like_count} likes, #{announcement_count} repeats") <>
-        "\r\n" <> info(HtmlSanitizeEx.strip_tags(String.replace(activity.data["object"]["content"], "<br>", "\n"))
+        "\r\n" <> info(HtmlSanitizeEx.strip_tags(String.replace(activity.data["object"]["content"], "<br>", "\n")))
     end)
     |> Enum.join("\r\n")
   end