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
Use `Rinku.auto_link` to handle valid/invalid link generation
Aaron Contrerasbb126714ddbb
diff --git a/modules/meeting/app/components/meetings/row_component.rb b/modules/meeting/app/components/meetings/row_component.rbindex 02e60226b6f..1421f797927 100644--- a/modules/meeting/app/components/meetings/row_component.rb+++ b/modules/meeting/app/components/meetings/row_component.rb@@ -47,24 +47,9 @@ module Meetingsenddef location- if valid_meeting_location_link?- link_to h(model.location),- model.location,- target: '_blank',- rel: 'noopener'- else- h(model.location)- end- end-- private-- def valid_meeting_location_link?- URI.parse(model.location)- .host- .present?- rescue URI::InvalidURIError- false+ ::Rinku.auto_link(h(model.location),+ :all,+ 'target="_blank"').html_safeendendend