Skip to content

Commit

Permalink
fix[Op#51022]: mark nested link as html safe
Browse files Browse the repository at this point in the history
  • Loading branch information
akabiru committed Nov 28, 2023
1 parent 534ee33 commit 9c189b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
t("storages.instructions.new_storage",
file_storage_docs_link: render(
Primer::Beta::Link.new(href: ::OpenProject::Static::Links[:storage_docs][:"#{@storage.short_provider_type}_setup"][:href], target: '_blank')
) { t("storages.instructions.file_storage_docs_link", provider_name: I18n.t("storages.provider_types.#{@storage.short_provider_type}.name")) }
) { t("storages.instructions.file_storage_docs_link", provider_name: I18n.t("storages.provider_types.#{@storage.short_provider_type}.name")).html_safe }

Check notice

Code scanning / Brakeman

Unescaped parameter value. Note

Unescaped parameter value.
).html_safe
%>
<% end %>
Expand Down

0 comments on commit 9c189b5

Please sign in to comment.