Skip to content

Diff viewer unable to detect matching keys for JSON objects when shifted to a new line #73

@vivianyan19

Description

@vivianyan19

For example, there is a "data" key on both sides of this diff, but there's a line comparison mismatch since the key is on a different line, which makes it appear as if the "data" key-value pair is being added instead of modified

Image

Comparing the same content with another diff library (diff2html):

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions