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