From 127b130f5c0429c4ed191983bd3f1c9da4291d56 Mon Sep 17 00:00:00 2001 From: Jordan Bracco Date: Thu, 26 Jun 2025 18:02:21 +0200 Subject: link: html: reverse meta tags order to original this fix legorafi.fr which fucks up with two og:description --- lib/plugins/link/html.ex | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3