Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-06-01 02:35:33 +0300
committerStan Hu <stanhu@gmail.com>2016-06-02 07:56:27 +0300
commitad3d0585aa2d36e57b53781a5bd6e3dbe96cb71d (patch)
treef149c33e7ad5ca9edee882ae167719dfbdcae8c7 /features
parent30524901e28176e96e7c0d1a710508367ff99d9f (diff)
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
Diffstat (limited to 'features')
0 files changed, 0 insertions, 0 deletions