spurious newline added when diff contains a list with new elements
t3chguy opened this issue · 4 comments
t3chguy commented
See https://jsfiddle.net/3u95j6z0/
When applied, this diff looks like
Additionally, this diff could be simplified to just a single step and that would hugely clean it up.
johanneswilm commented
Hey, the newline that is being added is because there is another textnode with a newline in it. This currently spans over 3 diffs, which could be cut down to 2 under perfect conditions. I think this looks quite acceptable though.
johanneswilm commented
If you want to investigate it more and write a patch, I'd be happy to merge it @t3chguy .
johanneswilm commented
@t3chguy I received a message that you commented on this issue, but the comment seems to have disappeared.
t3chguy commented
Yup, I deleted it, it was moot and a bad reproduction case.