Merge pull request 'fix url check in public note' (#218) from devel into main

Reviewed-on: #218
This commit is contained in:
inhji 2023-07-18 07:35:54 +02:00
commit b61259a950

View file

@ -24,7 +24,7 @@
</section>
<% end %>
<%= if String.length(@note.url) > 0 do %>
<%= if String.length(@note.url || "") > 0 do %>
<section class="mt-8 max-w-2xl mx-auto text-center text-lg">
<.divider text=" " />
<.icon name="hero-link" /> <a href={@note.url}><%= @note.url %></a>