aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/rich_media/parsers/ogp.ex4
1 files changed, 2 insertions, 2 deletions
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} ->