Verified Commit 09d31d24 authored by minibikini's avatar minibikini
Browse files

Return an empty map from Pleroma.Web.RichMedia.Parsers.OGP.parse/2

parent 697cf920
Pipeline #27158 passed with stages
in 8 minutes and 47 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment