• Stan Hu's avatar
    Fix serious performance bug with rendering Markdown with InlineDiffFilter · ad3d0585
    Stan Hu authored
    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
    ad3d0585
To find the state of this project's repository at the time of any of these versions, check out the tags.