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

add explicit classes that denote tag-level changes #30

Open
anastasia opened this issue Oct 3, 2017 · 0 comments
Open

add explicit classes that denote tag-level changes #30

anastasia opened this issue Oct 3, 2017 · 0 comments

Comments

@anastasia
Copy link
Owner

d = HTMLDiffer('<h1>whatever</h1>', '<div>whatever</div>')
d.diff()'s combined_diff should potentially look like
'<div class="htmldiffer-tag-change">whatever</div>'
and attribute-level changes could look like:
d = HTMLDiffer('<div class="something">whatever</h1>', '<div class="something_else">whatever</div>')
d.diff()'s combined_diff should potentially look like
'<div class="htmldiffer-attribute-change">whatever</div>'
or
'<div class="htmldiffer-class-change">whatever</div>'

On top of current wip enhancement, would deal with #27, #28, #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant