Add tidy_raw() helper

This commit is contained in:
Thelonius Kort
2023-02-14 20:52:10 +01:00
parent b0267ef752
commit 66a61c8380
6 changed files with 21 additions and 5 deletions

View File

@ -9,7 +9,7 @@
<.table id="authors" rows={@authors} row_click={&JS.navigate(~p"/authors/#{&1}")}>
<:col :let={author} label="Name"><%= author.name %></:col>
<:col :let={author} label="Description"><%= author.description %></:col>
<:col :let={author} label="Description"><%= author.description |> tidy_raw %></:col>
<:col :let={author} label="Homepage name"><%= author.homepage_name %></:col>
<:col :let={author} label="Homepage url"><%= author.homepage_url %></:col>
<:action :let={author}>