Commit 6b206c9d965c664053ff0139736357ea096f4766
1 parent
dc016fef
Exists in
master
and in
4 other branches
Allow markdown tables
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/gitlab/markdown.rb
... | ... | @@ -63,7 +63,7 @@ module Gitlab |
63 | 63 | insert_piece($1) |
64 | 64 | end |
65 | 65 | |
66 | - sanitize text.html_safe, attributes: ActionView::Base.sanitized_allowed_attributes + %w(id class) | |
66 | + sanitize text.html_safe, attributes: ActionView::Base.sanitized_allowed_attributes + %w(id class), tags: ActionView::Base.sanitized_allowed_tags + %w(table tr td th) | |
67 | 67 | end |
68 | 68 | |
69 | 69 | private | ... | ... |