From 76de79e2b21122ff5c78fad5123d2c2133cec6f9 Mon Sep 17 00:00:00 2001 From: Tobias Dillmann Date: Wed, 11 Sep 2024 13:46:21 +0200 Subject: [PATCH] [#55021] remove unnecessary `html_safe` Both id and identifier are simple strings. No need no mark them as html_safe. --- app/components/projects/row_component.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/app/components/projects/row_component.rb b/app/components/projects/row_component.rb index 6a610b21aa6d..91fc3f10c03c 100644 --- a/app/components/projects/row_component.rb +++ b/app/components/projects/row_component.rb @@ -108,17 +108,11 @@ def required_disk_space end def id - content = "".html_safe - - content << project.id.to_s - content + project.id.to_s end def identifier - content = "".html_safe - - content << project.identifier - content + project.identifier end def name