We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beb5e1b commit aecbd31Copy full SHA for aecbd31
app/helpers/gitlab_markdown_helper.rb
@@ -31,7 +31,7 @@ def gfm(text, html_options = {})
31
extractions[$1]
32
end
33
34
- sanitize text.html_safe
+ sanitize text.html_safe, attributes: ActionView::Base.sanitized_allowed_attributes + %w(id class )
35
36
37
# Use this in places where you would normally use link_to(gfm(...), ...).
0 commit comments