Browse Source

Merge remote-tracking branch 'remotes/origin/develop' into relations-preloading-for-statuses-rendering

feature/add-subject-to-text-search
Ivan Tashkinov 4 years ago
parent
commit
86f2fbc81e
2 changed files with 10 additions and 1 deletions
  1. +3
    -1
      lib/pleroma/web/static_fe/static_fe_controller.ex
  2. +7
    -0
      priv/static/static/static-fe.css

+ 3
- 1
lib/pleroma/web/static_fe/static_fe_controller.ex View File

@@ -60,7 +60,9 @@ defmodule Pleroma.Web.StaticFE.StaticFEController do

content =
if data["content"] do
Pleroma.HTML.filter_tags(data["content"])
data["content"]
|> Pleroma.HTML.filter_tags()
|> Pleroma.Emoji.Formatter.emojify(Map.get(data, "emoji", %{}))
else
nil
end


+ 7
- 0
priv/static/static/static-fe.css View File

@@ -174,3 +174,10 @@ button {
font-weight: 500;
font-size: 16px;
}

img.emoji {
width: 32px;
height: 32px;
padding: 0;
vertical-align: middle;
}

Loading…
Cancel
Save