feat(join): highlight auto-linked join-form links
This commit is contained in:
parent
aced57d0fd
commit
ee5ccbf7e9
3 changed files with 9 additions and 7 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue