Sanitize label texts automatically
This way we can remove all those `html_safe` calls and we avoid potential XSS attacks in label texts.
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
"/conditions",
|
||||
title: t("shared.target_blank"),
|
||||
target: "_blank")
|
||||
).html_safe %>
|
||||
) %>
|
||||
|
||||
<div class="small-12 medium-6 small-centered">
|
||||
<%= f.submit t("devise_views.organizations.registrations.new.submit"), class: "button expanded" %>
|
||||
|
||||
Reference in New Issue
Block a user