Skip to content
  • Stan Hu's avatar
    Fix serious performance bug with rendering Markdown with InlineDiffFilter · 78b280a69c93
    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
    78b280a69c93