From 644754f48cb89743624b7bae4cf6f1992bb58305 Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Wed, 12 Feb 2020 09:55:11 +0100 Subject: Preserve newlines --- lib/waev_web/templates/exports/show.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/waev_web/templates/exports/show.html.eex') diff --git a/lib/waev_web/templates/exports/show.html.eex b/lib/waev_web/templates/exports/show.html.eex index 15a1360..052ced8 100644 --- a/lib/waev_web/templates/exports/show.html.eex +++ b/lib/waev_web/templates/exports/show.html.eex @@ -26,7 +26,7 @@ <% _ -> %> <% end %> -
<%= highlight_urls(message.text) %>
+
<%= message.text |> highlight_urls() |> nl_to_br() %>
<%= message.date %>
-- cgit v1.2.3