Demojify already decodes
This commit is contained in:
parent
f48f3e8b46
commit
45146b0010
@ -49,7 +49,6 @@ defmodule Pleroma.Web.Metadata.Utils do
|
|||||||
# html content comes from DB already encoded, but demojify decodes for us
|
# html content comes from DB already encoded, but demojify decodes for us
|
||||||
content
|
content
|
||||||
|> Emoji.Formatter.demojify()
|
|> Emoji.Formatter.demojify()
|
||||||
|> HtmlEntities.decode()
|
|
||||||
|> String.replace(~r/<br\s?\/?>/, " ")
|
|> String.replace(~r/<br\s?\/?>/, " ")
|
||||||
|> HTML.strip_tags()
|
|> HTML.strip_tags()
|
||||||
|> HtmlEntities.decode()
|
|> HtmlEntities.decode()
|
||||||
|
Loading…
Reference in New Issue
Block a user