Skip to content

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

use format_text helper to pass project

Oliver Günther79e42625943a
diff --git a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
index fadd8b5277e..7fd101a9274 100644
--- a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
+++ b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
@@ -74,7 +74,7 @@
grid.with_area(:notes, tag: :div) do
if @meeting_agenda_item.notes.present?
render(Primer::Box.new(color: :subtle, mt: 1)) do
- ::OpenProject::TextFormatting::Renderer.format_text(@meeting_agenda_item.notes)
+ format_text(@meeting_agenda_item, :notes)
end
end
end