Skip to content

Commit

Permalink
use format_text helper to pass project
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Nov 21, 2023
1 parent d1e5589 commit 79e4262
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79e4262

Please sign in to comment.