1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-11-17 02:26:16 +01:00

Better variable name

This commit is contained in:
Maxim Filippov 2019-01-01 23:29:47 +03:00
parent 2aab4e03c3
commit 917d48d09b

View File

@ -17,8 +17,8 @@ defmodule Pleroma.Web.RichMedia.Parsers.OGP do
html |> Floki.find("meta[property^='og:']")
end
defp normalize_attributes(tuple) do
{_tag, attributes, _children} = tuple
defp normalize_attributes(html_node) do
{_tag, attributes, _children} = html_node
data =
Enum.into(attributes, %{}, fn {name, value} ->