gitlab-org--gitlab-foss/lib/banzai
Stan Hu ad3d0585aa Fix serious performance bug with rendering Markdown with InlineDiffFilter
Nokogiri's `node.replace` was being unnecessarily called for every text node in
the document due to a comparison bug. The code previously was comparing the
HTML representation of the full document against the text node, which would
always fail. Fix the comparison to just compare the modified text.

Closes #18011
2016-06-01 21:56:27 -07:00
..
filter Fix serious performance bug with rendering Markdown with InlineDiffFilter 2016-06-01 21:56:27 -07:00
pipeline Split Markdown rendering & reference gathering 2016-05-26 17:14:00 +02:00
reference_parser Split Markdown rendering & reference gathering 2016-05-26 17:14:00 +02:00
cross_project_reference.rb Prevent circular reference error in Banzai 2016-01-14 11:30:28 +01:00
filter.rb Remove redundant requires from Banzai files 2016-03-24 13:23:47 -04:00
filter_array.rb Add FilterArray class to Banzai 2016-03-01 15:54:35 -05:00
pipeline.rb Prevent circular reference error in Banzai 2016-01-14 11:30:28 +01:00
querying.rb Optimize CSS expressions produced by Nokogiri 2015-12-31 15:46:47 +01:00
reference_extractor.rb Split Markdown rendering & reference gathering 2016-05-26 17:14:00 +02:00
reference_parser.rb Split Markdown rendering & reference gathering 2016-05-26 17:14:00 +02:00
renderer.rb Instrument Banzai code 2016-04-11 17:43:12 +02:00