• Stan Hu's avatar
    Merge branch 'fix-inline-filter-speed' into 'master' · e8e4dbc1
    Stan Hu authored
    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
    e8e4dbc1
To find the state of this project's repository at the time of any of these versions, check out the tags.
CHANGELOG 144 KB