From eb16b9df48093cb04d230d7bbcaf1c5a161143b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 2 Oct 2019 16:28:24 +0200 Subject: [PATCH] Remove unneded html_safe in investment description The description is already marked as HTML safe because we sanitize it before storing it in the database. --- app/views/budgets/investments/_investment_detail.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/budgets/investments/_investment_detail.erb b/app/views/budgets/investments/_investment_detail.erb index 6c49abe38..de1a7be07 100644 --- a/app/views/budgets/investments/_investment_detail.erb +++ b/app/views/budgets/investments/_investment_detail.erb @@ -22,7 +22,7 @@ <%= t("budgets.investments.show.code_html", code: investment.id) %>

-<%= safe_html_with_links investment.description.html_safe %> +<%= safe_html_with_links investment.description %> <% if feature?(:map) && map_location_available?(@investment.map_location) %>