Add content warning classnames for pleroma-fe to style
This commit is contained in:
parent
d386e8a825
commit
9ffe54d70c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue