projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f35acc
)
Deprecate Pleroma.Web.RichMedia.Parsers.OGP
author
Egor Kislitsyn
<egor@kislitsyn.com>
Thu, 11 Jun 2020 19:11:46 +0000
(23:11 +0400)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Thu, 11 Jun 2020 19:11:46 +0000
(23:11 +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 5eebe42f7da7da22b8e7b999d0bd7bbbb49b8ba7..363815f81339bcf4b8eea5d02c5a9110163abdaf 100644
(file)
--- a/
lib/pleroma/web/rich_media/parsers/ogp.ex
+++ b/
lib/pleroma/web/rich_media/parsers/ogp.ex
@@
-3,6
+3,7
@@
# SPDX-License-Identifier: AGPL-3.0-only
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,