Remove math rendering exception for wikis
Wikis and repositories no longer allow unlimited math rendering. It is now controlled by the `math_rendering_limits_enabled` instance and group setting. Changelog: fixed
显示
- app/assets/javascripts/behaviors/markdown/render_math.js 2 个添加, 6 个删除app/assets/javascripts/behaviors/markdown/render_math.js
- app/controllers/groups/application_controller.rb 4 个添加, 0 个删除app/controllers/groups/application_controller.rb
- app/controllers/projects/application_controller.rb 4 个添加, 0 个删除app/controllers/projects/application_controller.rb
- app/models/namespaces/traversal/linear.rb 5 个添加, 5 个删除app/models/namespaces/traversal/linear.rb
- doc/administration/instance_limits.md 7 个添加, 3 个删除doc/administration/instance_limits.md
- lib/banzai/filter/math_filter.rb 9 个添加, 13 个删除lib/banzai/filter/math_filter.rb
- lib/gitlab/gon_helper.rb 6 个添加, 0 个删除lib/gitlab/gon_helper.rb
- spec/features/markdown/math_spec.rb 13 个添加, 6 个删除spec/features/markdown/math_spec.rb
- spec/lib/banzai/filter/math_filter_spec.rb 51 个添加, 10 个删除spec/lib/banzai/filter/math_filter_spec.rb
- spec/lib/gitlab/gon_helper_spec.rb 34 个添加, 1 个删除spec/lib/gitlab/gon_helper_spec.rb
加载中
想要评论请 注册 或 登录