Commit 6b206c9d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Allow markdown tables

parent dc016fef
......@@ -63,7 +63,7 @@ module Gitlab
insert_piece($1)
end
sanitize text.html_safe, attributes: ActionView::Base.sanitized_allowed_attributes + %w(id class)
sanitize text.html_safe, attributes: ActionView::Base.sanitized_allowed_attributes + %w(id class), tags: ActionView::Base.sanitized_allowed_tags + %w(table tr td th)
end
private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment