From b00e230760891d97c5d8c68e9e5c63b1545f10e9 Mon Sep 17 00:00:00 2001 From: eal Date: Mon, 11 Dec 2017 18:14:33 +0200 Subject: [PATCH] Add a bunch of useless HTML to mentions. --- lib/pleroma/web/common_api/utils.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index 1a23b1ad2..2687d6663 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -91,7 +91,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do Enum.reduce(mentions, step_one, fn ({match, %User{ap_id: ap_id}, uuid}, text) -> short_match = String.split(match, "@") |> tl() |> hd() - String.replace(text, uuid, "@#{short_match}") + String.replace(text, uuid, "@#{short_match}") end) end -- 2.45.2