mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 05:04:49 +00:00
Better variable name
This commit is contained in:
parent
2aab4e03c3
commit
917d48d09b
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ defmodule Pleroma.Web.RichMedia.Parsers.OGP do
|
||||||
html |> Floki.find("meta[property^='og:']")
|
html |> Floki.find("meta[property^='og:']")
|
||||||
end
|
end
|
||||||
|
|
||||||
defp normalize_attributes(tuple) do
|
defp normalize_attributes(html_node) do
|
||||||
{_tag, attributes, _children} = tuple
|
{_tag, attributes, _children} = html_node
|
||||||
|
|
||||||
data =
|
data =
|
||||||
Enum.into(attributes, %{}, fn {name, value} ->
|
Enum.into(attributes, %{}, fn {name, value} ->
|
||||||
|
|
Loading…
Reference in a new issue