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

do not fail on edge case of rendering

ulferts7d20d8e5d2ad
diff --git a/lib/open_project/text_formatting/matchers/regex_matcher.rb b/lib/open_project/text_formatting/matchers/regex_matcher.rb
index afe9008194e..4ed5ebc2308 100644
--- a/lib/open_project/text_formatting/matchers/regex_matcher.rb
+++ b/lib/open_project/text_formatting/matchers/regex_matcher.rb
@@ -39,6 +39,9 @@ module OpenProject::TextFormatting
if process_node!(content, context)
node.replace(content)
end
+
+ rescue RuntimeError
+ # If an error is occurred, instead of failing hard, simply do not replace.
end
##