From: Maxim Filippov Date: Tue, 1 Jan 2019 20:29:47 +0000 (+0300) Subject: Better variable name X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;ds=sidebyside;h=917d48d09bad573260bc816310ee2c75d4db84a8;p=akkoma Better variable name --- diff --git a/lib/pleroma/web/rich_media/parsers/ogp.ex b/lib/pleroma/web/rich_media/parsers/ogp.ex index 75084c7ee..5773a5263 100644 --- 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(tuple) do - {_tag, attributes, _children} = tuple + defp normalize_attributes(html_node) do + {_tag, attributes, _children} = html_node data = Enum.into(attributes, %{}, fn {name, value} ->