diff options
author | Stan Hu <stanhu@gmail.com> | 2016-06-02 13:56:24 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-06-02 13:56:24 +0000 |
commit | 5accd87ad7b0d960e504910d896a832288e51c8d (patch) | |
tree | 229f9da701d0feafa9431b819b31e7e5bba5f540 /.ruby-version | |
parent | f828b74483a68baaadc3a4095ec6911087995892 (diff) | |
parent | ad3d0585aa2d36e57b53781a5bd6e3dbe96cb71d (diff) | |
download | gitlab-ce-5accd87ad7b0d960e504910d896a832288e51c8d.tar.gz |
Merge branch 'fix-inline-filter-speed' into 'master'
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
See merge request !4392
Diffstat (limited to '.ruby-version')
0 files changed, 0 insertions, 0 deletions