Add content warning classnames for pleroma-fe to style

This commit is contained in:
Vivian Lim 2018-06-27 20:35:27 -07:00
parent d386e8a825
commit c67d493d11
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ defmodule Pleroma.Web.TwitterAPI.ActivityView do
content =
if !!summary and summary != "" do
"<span>#{activity.data["object"]["summary"]}</span><br />#{content}</span>"
"<span class=\"contentWarningText\">#{activity.data["object"]["summary"]}</span><br /><span class="contentWarning">#{content}</span>"
else
content
end