Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
09d31d24
Verified
Commit
09d31d24
authored
Jun 12, 2020
by
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
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
lib/pleroma/web/rich_media/parsers/ogp.ex
View file @
09d31d24
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment