Allow tables for Markdown rendering
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user