mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 21:56:19 +10:00
Fix glm by adding id and classes to sanitize white attrs
This commit is contained in:
@@ -31,7 +31,7 @@ module GitlabMarkdownHelper
|
||||
extractions[$1]
|
||||
end
|
||||
|
||||
sanitize text.html_safe
|
||||
sanitize text.html_safe, attributes: ActionView::Base.sanitized_allowed_attributes + %w(id class )
|
||||
end
|
||||
|
||||
# Use this in places where you would normally use link_to(gfm(...), ...).
|
||||
|
||||
Reference in New Issue
Block a user