projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
697cf92
)
Return an empty map from Pleroma.Web.RichMedia.Parsers.OGP.parse/2
author
Egor Kislitsyn
<egor@kislitsyn.com>
Fri, 12 Jun 2020 14:37:32 +0000
(18:37 +0400)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Fri, 12 Jun 2020 14:39:51 +0000
(18:39 +0400)
lib/pleroma/web/rich_media/parsers/ogp.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/rich_media/parsers/ogp.ex
b/lib/pleroma/web/rich_media/parsers/ogp.ex
index 363815f81339bcf4b8eea5d02c5a9110163abdaf..b3b3b059cfcae206ed35367a59f403e49deda922 100644
(file)
--- a/
lib/pleroma/web/rich_media/parsers/ogp.ex
+++ b/
lib/pleroma/web/rich_media/parsers/ogp.ex
@@
-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