Fix typo.

This commit is contained in:
lain 2018-03-31 21:10:56 +02:00
parent 8cbda7c0ee
commit 94bbe1addc
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ def render_activities(activities) 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