feat(join): highlight auto-linked join-form links

This commit is contained in:
Simon 2026-06-03 12:16:53 +02:00
parent aced57d0fd
commit ee5ccbf7e9
3 changed files with 9 additions and 7 deletions

View file

@ -63,7 +63,7 @@ defmodule MvWeb.Helpers.JoinDescriptionRenderer do
end
defp anchor(url, label) do
["<a href=\"", escape(url), "\">", escape(label), "</a>"]
["<a href=\"", escape(url), "\" class=\"link link-primary\">", escape(label), "</a>"]
end
defp escape(text), do: Phoenix.HTML.html_escape(text) |> Phoenix.HTML.safe_to_string()