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

Help wanted - text inside tags - new diff? #631

Open
bildsoe opened this issue Feb 10, 2020 · 0 comments
Open

Help wanted - text inside tags - new diff? #631

bildsoe opened this issue Feb 10, 2020 · 0 comments

Comments

@bildsoe
Copy link

bildsoe commented Feb 10, 2020

Hello

And thanks for a great tool.

I have a question about proper usage. I need to diff html to highlight changes from one version of a document to another. I'm using html as language, markup as lexer and diff_format as JSON. This gives me roughly the result I want - down to tag-level. However if text is changed inside a tag, it gets the code "r" (for replaced I guess?). Should I then do a new diff using a language=text to get the differences inside the tag?

image

BR
Thomas

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