don't do xml_escape just yet

This commit is contained in:
Peter Zingg 2022-12-17 08:18:05 -08:00
parent 4cafb8a89a
commit b63d3bcec6

View file

@ -106,11 +106,10 @@ defmodule Pleroma.Web.Feed.FeedView do
end end
end end
def escape(str) do def escape(html) do
str html
|> html_escape() |> html_escape()
|> safe_to_string() |> safe_to_string()
|> xml_escape()
end end
# Encoding newlines, e.g., per XML spec # Encoding newlines, e.g., per XML spec