Add tidy_raw() helper
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
<.table id="translations" rows={@article.translations} row_click={&JS.navigate(~p"/translations/#{(&1).id}")}>
|
||||
<:col :let={translation} label="Language"><%= translation.language %></:col>
|
||||
<:col :let={translation} label="Title"><%= translation.title %></:col>
|
||||
<:col :let={translation} label="Teaser"><%= translation.teaser %></:col>
|
||||
<:col :let={translation} label="Teaser"><%= translation.teaser |> tidy_raw %></:col>
|
||||
<:col :let={translation} label="Date"><%= translation.date %></:col>
|
||||
<:col :let={translation} label="Public"><%= translation.public %></:col>
|
||||
<:action :let={translation}>
|
||||
|
||||
Reference in New Issue
Block a user