OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix non-html value for rss tokens
Oliver Güntherfdfbbabda03e
diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rbindex 6bb2bcf99bc..c05339aa418 100644--- a/app/controllers/my_controller.rb+++ b/app/controllers/my_controller.rb@@ -91,8 +91,8 @@ class MyController < ApplicationControllerif request.post?token = Token::Rss.create!(user: current_user)flash[:info] = [- t('my.access_token.notice_reset_token', type: 'RSS'),- "<strong>#{token.plain_value}</strong>".html_safe,+ t('my.access_token.notice_reset_token', type: 'RSS').html_safe,+ content_tag(:strong, token.plain_value),t('my.access_token.token_value_warning')]end@@ -108,8 +108,8 @@ class MyController < ApplicationControllerif request.post?token = Token::Api.create!(user: current_user)flash[:info] = [- t('my.access_token.notice_reset_token', type: 'API'),- "<strong>#{token.plain_value}</strong>".html_safe,+ t('my.access_token.notice_reset_token', type: 'API').html_safe,+ content_tag(:strong, token.plain_value),t('my.access_token.token_value_warning')]end