Bump version to v4.1.3 (#25757)

This commit is contained in:
KMY 2023-07-06 23:09:32 +09:00
parent b96be29ae7
commit 82338ded9f
15 changed files with 207 additions and 33 deletions

View file

@ -11,4 +11,8 @@ class REST::PreviewCardSerializer < ActiveModel::Serializer
def image
object.image? ? full_asset_url(object.image.url(:original)) : nil
end
def html
Sanitize.fragment(object.html, Sanitize::Config::MASTODON_OEMBED)
end
end