X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fweb%2Fcommon_api%2Futils.ex;h=1a23b1ad2abb9855ecccadf4c9978827cd552ead;hb=1625021a9cd01127171709324f165899a52acfe5;hp=7cce77b10d2fd0ca0caadf776b110e6851a4a377;hpb=fb118b2978686a44a15534b638ab7887fb38c03d;p=akkoma diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index 7cce77b10..1a23b1ad2 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -57,7 +57,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do Enum.join([text | attachment_text], "
") end - def format_input(text, mentions, tags) do + def format_input(text, mentions, _tags) do Phoenix.HTML.html_escape(text) |> elem(1) |> Formatter.linkify