From: William Pitcock Date: Mon, 20 Aug 2018 18:40:05 +0000 (+0000) Subject: formatting X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=c033d2004b8d5a8e2d5fd2553d6e20bad7bb57a5;p=akkoma formatting --- diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index eace3c8a1..c7b0d7935 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -109,7 +109,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do |> Enum.sort_by(fn {tag, _} -> -String.length(tag) end) Enum.reduce(tags, text, fn {full, tag}, text -> - url = "" + url = "" String.replace(text, full, url) end) end