diff options
author | Jordan Bracco <href@random.sh> | 2025-06-26 18:02:21 +0200 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2025-06-26 18:02:21 +0200 |
commit | 127b130f5c0429c4ed191983bd3f1c9da4291d56 (patch) | |
tree | cd90c40e868b8a520605b3a1da3f6c609b8a7beb /lib | |
parent | link: reddit: use proxy in handler, rewrite to old reddit otherwise (diff) |
link: html: reverse meta tags order to original
this fix legorafi.fr which fucks up with two og:description
Diffstat (limited to 'lib')
-rw-r--r-- | lib/plugins/link/html.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/plugins/link/html.ex b/lib/plugins/link/html.ex index aa78810..1173526 100644 --- a/lib/plugins/link/html.ex +++ b/lib/plugins/link/html.ex @@ -44,6 +44,7 @@ defmodule Nola.Plugins.Link.HTML do defp collect_open_graph(html) do Floki.find(html, "head meta") + |> Enum.reverse() |> Enum.reduce(%{}, &extract_meta_tag/2) end |