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

Ignore some Rubocop cops: todo_list_transformer

Alexander Brandon Colesf756c13cab9e
diff --git a/lib/open_project/text_formatting/filters/sanitization_filter.rb b/lib/open_project/text_formatting/filters/sanitization_filter.rb
index cf165f015fb..a6f7b817dd9 100644
--- a/lib/open_project/text_formatting/filters/sanitization_filter.rb
+++ b/lib/open_project/text_formatting/filters/sanitization_filter.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) the OpenProject GmbH
@@ -75,7 +77,7 @@ module OpenProject::TextFormatting
# Transformer to fix task lists in sanitization
# Replace to do lists in tables with their markdown equivalent
- def todo_list_transformer
+ def todo_list_transformer # rubocop:disable Metrics/AbcSize,Metrics/PerceivedComplexity
lambda { |env|
name = env[:node_name]
table = env[:node]