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
JSDiff treats HTML content as a single line if there is no EOL at each line #388
Comments
@benatkin I understand that. Can’t this tool just take the diff and send only the changeset instead of sending the whole line with it? Or there is a way to do it that I am not aware of? The tool can mention the line number and the column numbers instead of sending the whole line. Unless I can do this, this tool is not useful for my usecase😞. |
A hackier way to solve this issue is by adding a newline char at EOL.
|
Depending upon precisely what you need, you could potentially do it with |
I have entered HTML content as input (test, dent, den as example in the image), but it seems like treating it as a single line. Is there a way I can treat it as different lines? Since it treats it like a single line, all the content will be sent as diff instead of getting only the changeset. Any help will be appreciated.
The text was updated successfully, but these errors were encountered: