We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the only difference between two string is a final newline, the last line disappears in the HTML diff.
> puts Diffy::Diff.new("1\n2", "1\n2\n").to_s 1 -2 \ No newline at end of file +2 => nil > puts Diffy::Diff.new("1\n2", "1\n2\n").to_s(:html) <div class="diff"> <ul> <li class="unchanged"><span>1</span></li> </ul> </div> => nil
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When the only difference between two string is a final newline, the last line disappears in the HTML diff.
The text was updated successfully, but these errors were encountered: