projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aab4e0
)
Better variable name
author
Maxim Filippov
<colixer@gmail.com>
Tue, 1 Jan 2019 20:29:47 +0000
(23:29 +0300)
committer
Maxim Filippov
<colixer@gmail.com>
Tue, 1 Jan 2019 20:29:47 +0000
(23:29 +0300)
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 75084c7eeceb09ef4745d363cf5b617f867a721c..5773a52632f476ec328996c525102d16ed03189a 100644
(file)
--- a/
lib/pleroma/web/rich_media/parsers/ogp.ex
+++ b/
lib/pleroma/web/rich_media/parsers/ogp.ex
@@
-17,8
+17,8
@@
defmodule Pleroma.Web.RichMedia.Parsers.OGP do
html |> Floki.find("meta[property^='og:']")
end
- defp normalize_attributes(
tupl
e) do
- {_tag, attributes, _children} =
tupl
e
+ defp normalize_attributes(
html_nod
e) do
+ {_tag, attributes, _children} =
html_nod
e
data =
Enum.into(attributes, %{}, fn {name, value} ->