decode HTML to be human readable in BBS
This commit is contained in:
parent
5086d6d5e9
commit
b128e1d6c5
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ defmodule Pleroma.BBS.Handler do
|
|||
def puts_activity(activity) do
|
||||
status = Pleroma.Web.MastodonAPI.StatusView.render("show.json", %{activity: activity})
|
||||
IO.puts("-- #{status.id} by #{status.account.display_name} (#{status.account.acct})")
|
||||
IO.puts(HTML.strip_tags(status.content))
|
||||
IO.puts(status.content |> HTML.strip_tags() |> HtmlEntities.decode())
|
||||
IO.puts("")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue