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
[Test] public void TestSlash() { var oldText = "<table><tr><td> a1 n/a</td><td> b1</td></tr><tr><td> </td><td> </td></tr></table>"; var newText = "<table><tr><td> a1</td><td> n/a</td></tr><tr><td> </td><td> </td></tr></table>"; var output = global::HtmlDiff.HtmlDiff.Execute(oldText, newText); var expected = "<table><tr><td> a1<del class='diffdel'> n/a</del></td>" + "<td> <del class='diffmod'>b1</del><ins class='diffmod'>n/a</ins></td></tr><tr><td> </td><td> </td></tr></table>"; Assert.AreEqual(expected, output); }
actual output: <table><tr><td> a1</td><td> n/a</td><td><del class='diffdel'> b1</del></td></tr><tr><td> </td><td> </td></tr></table>
<table><tr><td> a1</td><td> n/a</td><td><del class='diffdel'> b1</del></td></tr><tr><td> </td><td> </td></tr></table>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
actual output:
<table><tr><td> a1</td><td> n/a</td><td><del class='diffdel'> b1</del></td></tr><tr><td> </td><td> </td></tr></table>
The text was updated successfully, but these errors were encountered: