ForceMentionsInContent: wrap inline mentions with span tag
This commit is contained in:
parent
1bbc701a3a
commit
d5644a52aa
2 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.ForceMentionsInContent do
|
|||
|
||||
content =
|
||||
if added_mentions != "",
|
||||
do: added_mentions <> " " <> content,
|
||||
do: "<span class=\"recipients-inline\">#{added_mentions} </span>" <> content,
|
||||
else: content
|
||||
|
||||
{:ok, put_in(object["object"]["content"], content)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue