Format announcements into html

This commit is contained in:
Tusooa Zhu 2022-03-08 23:00:51 -05:00
commit ebcda5265b
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
6 changed files with 65 additions and 4 deletions

View file

@ -637,5 +637,6 @@ defmodule Pleroma.Factory do
data: Map.merge(%{"content" => "test announcement", "all_day" => false}, data)
}
|> Map.merge(params)
|> Pleroma.Announcement.add_rendered_properties()
end
end