Allow tables for Markdown rendering

This commit is contained in:
Sebastian Serth
2022-05-06 15:36:03 +02:00
parent 27dcab0005
commit d9a2470a89

View File

@ -53,5 +53,8 @@ module CodeOcean
# Initialize the runner environment # Initialize the runner environment
Runner.strategy_class.initialize_environment Runner.strategy_class.initialize_environment
end end
# Allow tables in addition to existing default tags
config.action_view.sanitized_allowed_tags = ActionView::Base.sanitized_allowed_tags + %w[table thead tbody tfoot td tr]
end end
end end