gitlab-org--gitlab-foss/spec/lib/banzai
Stan Hu be495c6a80 Fix slow Markdown rendering
The sanitize transformers were being duplicated each time the Markdown
renderer was called, leading to expontential growth in rendering times.

The problem was that although HTML::Pipeline::SanitizationFilter.WHITELIST
is a frozen hash, the `:transformers` array can be modified. We need
to do deep copy of this to avoid adding duplicates.

Closes #49409
2018-07-24 13:00:49 -07:00
..
filter Fix slow Markdown rendering 2018-07-24 13:00:49 -07:00
pipeline Remove ImageLazyLoadFilter from EmailPipeline 2017-09-12 11:54:14 -04:00
reference_parser Fix reference filters in group context 2018-04-12 11:55:15 +02:00
color_parser_spec.rb Add Colors to GitLab Flavored Markdown 2018-01-29 17:39:19 +03:00
commit_renderer_spec.rb Support Markdown rendering using multiple projects 2018-04-11 14:10:19 +02:00
cross_project_reference_spec.rb Better group support notes-related code 2018-04-05 13:29:57 +02:00
filter_array_spec.rb
issuable_extractor_spec.rb Support Markdown rendering using multiple projects 2018-04-11 14:10:19 +02:00
object_renderer_spec.rb for cached markdown fields, select the correct engine 2018-04-17 17:42:19 +02:00
querying_spec.rb
redactor_spec.rb Support Markdown rendering using multiple projects 2018-04-11 14:10:19 +02:00
render_context_spec.rb Support Markdown rendering using multiple projects 2018-04-11 14:10:19 +02:00
renderer_spec.rb Resolve "DashboardController#activity.json is slow due to SQL" 2017-11-06 16:52:56 +00:00