aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/bbs/handler.ex
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-10-30 09:20:13 +0300
committerrinpatch <rinpatch@sdf.org>2019-10-30 09:20:13 +0300
commitae59b38203b5358ddbf7f2cc5e2cbc816d171452 (patch)
treee185e7a624e5683079463660ed4fb8b18d3ca7a4 /lib/pleroma/bbs/handler.ex
parent77cfb08b8c4c07406af8b338ce010307f6af75cb (diff)
downloadpleroma-ae59b38203b5358ddbf7f2cc5e2cbc816d171452.tar.gz
Rip out the rest of htmlsanitizeex
Diffstat (limited to 'lib/pleroma/bbs/handler.ex')
-rw-r--r--lib/pleroma/bbs/handler.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/bbs/handler.ex b/lib/pleroma/bbs/handler.ex
index fa838a4e4..386afee89 100644
--- a/lib/pleroma/bbs/handler.ex
+++ b/lib/pleroma/bbs/handler.ex
@@ -5,6 +5,7 @@
defmodule Pleroma.BBS.Handler do
use Sshd.ShellHandler
alias Pleroma.Activity
+ alias Pleroma.HTML
alias Pleroma.Web.ActivityPub.ActivityPub
alias Pleroma.Web.CommonAPI
@@ -44,7 +45,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(HtmlSanitizeEx.strip_tags(status.content))
+ IO.puts(HTML.strip_tags(status.content))
IO.puts("")
end