Allow markdown tables

This commit is contained in:
Dmitriy Zaporozhets 2013-08-26 14:27:19 +03:00
parent dc016fef39
commit 6b206c9d96

View file

@ -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