Open JasonBarnabe opened 3 years ago
# Note single quotes - \n is not a line break. puts Diffy::Diff.new('foo\nbar', 'boo\nfar').to_s(:html)
Expected:
<div class="diff"> <ul> <li class="del"><del><strong>foo\nb</strong>ar</del></li> <li class="ins"><ins><strong>boo\nf</strong>ar</ins></li> </ul> </div>
Actual:
<div class="diff"> <ul> <li class="del"><del><strong>f</strong>oo</del></li> <li class="del"><del><strong>b</strong>ar</del></li> <li class="ins"><ins><strong>b</strong>oo</ins></li> <li class="ins"><ins><strong>f</strong>ar</ins></li> </ul> </div>
Any updates or work arounds for this?
您好,邮件已收到!
Perhaps the same or similar to https://github.com/samg/diffy/issues/96
Expected:
Actual: