Use content instead of source and scrub it
This commit is contained in:
parent
9beaebd97e
commit
00c48a33ac
2 changed files with 5 additions and 9 deletions
|
|
@ -56,7 +56,7 @@ defmodule Pleroma.Search.Meilisearch do
|
|||
Jason.encode!([
|
||||
%{
|
||||
id: object.id,
|
||||
source: data["source"],
|
||||
content: data["content"] |> Pleroma.HTML.filter_tags(),
|
||||
ap: data["id"],
|
||||
published: published |> DateTime.to_unix()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue