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

Preserve line breaks #22

Closed
wants to merge 1 commit into from
Closed

Conversation

parallels999
Copy link

@parallels999 parallels999 commented Oct 1, 2024

Line breaks are deleted, now it works
Example: https://jsfiddle.net/rym8c2f0/1/
image

@arnab
Copy link
Owner

arnab commented Oct 2, 2024

Thanks @parallels999 !

Same note as #21:

  1. Please follow the steps listed in https://github.com/arnab/jQuery.PrettyTextDiff?tab=readme-ov-file#development. Specifically, use the cake build command to produce the change in JS minified version of the code. And then increment the version in package.json (I think 1.1.0 would be apt, unless this is a backward incompatible change).

@parallels999
Copy link
Author

parallels999 commented Oct 2, 2024

the problem is bigger, for example the tabs, white spaces, etc.

I wrote another, broader approach on: #11 (comment)

but I don't know if adding a <pre /> is a breaking change

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

Successfully merging this pull request may close these issues.

2 participants