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

Highlighting is incorrect on tables. #12

Open
japo32 opened this issue Jul 19, 2019 · 1 comment
Open

Highlighting is incorrect on tables. #12

japo32 opened this issue Jul 19, 2019 · 1 comment

Comments

@japo32
Copy link

japo32 commented Jul 19, 2019

It seems like it has trouble highlighting changes on tables when then contents of the cells are similar.

originalHTML = 
<table>
<tbody>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
</tbody>
</table>;

 newHTML = 
<table>
<tbody>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
<td>sd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
<td>sd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
<td>sd</td>
</tr>
</tbody>
</table>

Screen Shot 2019-07-19 at 1 14 24 PM

 originalHTML2 =
<table>
<tbody>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
</tbody>
</table>;

 newHTML2 =
<table>
<tbody>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
<td>sd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
<td>sd</td>
</tr>
</tbody>
</table>;

Screen Shot 2019-07-19 at 1 13 28 PM

originalHTML3 = 
<table>
<tbody>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
</tr>
</tbody>
</table>;

 newHTML3 = 
<table>
<tbody>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
<td>kkk</td>
</tr>
<tr>
<td>kkk</td>
<td>asd</td>
<td>asd</td>
<td>sd</td>
</tr>
<tr>
<td>asd</td>
<td>asd</td>
<td>asd</td>
<td>sd</td>
</tr>
</tbody>
</table>;

Screen Shot 2019-07-19 at 1 13 35 PM

@huzedong2015
Copy link

I have also encountered the same problem. Have you resolved it
image

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

2 participants