Skip to content
New issue

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

'tr' and 'td' tags treated as simple text and omitted if next row is deleted #27

Open
oscamp08 opened this issue Jan 24, 2017 · 0 comments

Comments

@oscamp08
Copy link

If you change the text in a table and delete the next row, the match algorithm in some way cannot detect the changes properly and will cause the <tr><td> to be treated as simple text. The result will be that 'from one place to another' (in example) will be mixed with tags and inserted after, causing the words to be split across the cells

Here you can validate 1 case:

string oldText = @"<table cellpadding='0' cellspacing='0'><tr><td>Some sample text2</td<td>Some sample value2</td></tr><tr><td>Data 1 (this row will be removed)</td><td>Data 2</td></tr> </table>'

string newText = @"<table cellpadding='0' cellspacing='0'><tr><td>text totally changed, words are passing</td><td>from one place to another</td></tr></table>"

@oscamp08 oscamp08 changed the title 'tr' and 'td' tags treated as simple text and omitted if next row deleted 'tr' and 'td' tags treated as simple text and omitted if next row is deleted Jan 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant