Skip to content

Fix for a small line numbering error. #61

Open
@vince2corte

Description

@vince2corte

Small library very useful for me. Thank's a lot !

Line 129 of the file lib/Dif/Renderer/Html/SideBySide.php should be corrected like this:
$toLine = $change['base']['offset'] + $no + 1; -> $toLine = $change['changed']['offset'] + $no + 1;

My two cents..

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