Rich Media Parser should use first og:image
This commit is contained in:
parent
63663ac88b
commit
cb073a9cd0
3 changed files with 173 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ defmodule Pleroma.Web.RichMedia.Parsers.MetaTagsParser do
|
|||
|> Enum.reduce(data, fn el, acc ->
|
||||
attributes = normalize_attributes(el, prefix, key_name, value_name)
|
||||
|
||||
Map.merge(acc, attributes)
|
||||
Map.merge(attributes, acc)
|
||||
end)
|
||||
|> maybe_put_title(html)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue