JBlond/php-diff

Side by side diff shows empty diff

Closed this issue · 4 comments

Using php-diff version 2.2.0. In my use case this happens when I use pipes for the table syntax. Looks like a line break issue to me.

inline_diff
side-by-side_diff

version_a.txt
version_b.txt

Can you please confirm commit 369b146 resolves the issue?
The output is like previous versions and as expected?

Patch tested and it works.
side-by-side_diff_patched

I closed the issue unintentionally.

Thank you for the feedback.
We'll release an update asap.

@JBlond I think a part of the code was removed due merging a pr. However, I'm not sure. Maybe we must consider a branching model to minimize these errors.

@vendeeglobe The new release is there with the fix.