提交 aecbd313 编写于 作者: R randx

Fix glm by adding id and classes to sanitize white attrs

上级 beb5e1bd
......@@ -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(...), ...).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册