From 45146b00106840095405950908d4c13aee370772 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Fri, 11 Jun 2021 18:06:25 -0500 Subject: [PATCH] Demojify already decodes --- lib/pleroma/web/metadata/utils.ex | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/pleroma/web/metadata/utils.ex b/lib/pleroma/web/metadata/utils.ex index 19864f259..0a4a3f628 100644 --- a/lib/pleroma/web/metadata/utils.ex +++ b/lib/pleroma/web/metadata/utils.ex @@ -49,7 +49,6 @@ defmodule Pleroma.Web.Metadata.Utils do # html content comes from DB already encoded, but demojify decodes for us content |> Emoji.Formatter.demojify() - |> HtmlEntities.decode() |> String.replace(~r//, " ") |> HTML.strip_tags() |> HtmlEntities.decode()