Return an empty map from Pleroma.Web.RichMedia.Parsers.OGP.parse/2
This commit is contained in:
parent
697cf92024
commit
09d31d24de
1 changed files with 2 additions and 7 deletions
|
@ -4,12 +4,7 @@
|
|||
|
||||
defmodule Pleroma.Web.RichMedia.Parsers.OGP do
|
||||
@deprecated "OGP parser is deprecated. Use TwitterCard instead."
|
||||
def parse(html, data) do
|
||||
Pleroma.Web.RichMedia.Parsers.MetaTagsParser.parse(
|
||||
data,
|
||||
html,
|
||||
"og",
|
||||
"property"
|
||||
)
|
||||
def parse(_html, _data) do
|
||||
%{}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue