-
Notifications
You must be signed in to change notification settings - Fork 477
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
result is garbled after format #216
Comments
thanks, this would make a nice unit test. |
unicode handling is notoriously bad in javascript.
https://mathiasbynens.be/notes/javascript-unicode
… |
It works fine using diff-match-patch:
result:
|
I think for CKJ it is fine, but not some emojis and glyphs of some other
languages.
|
I found google diff match patch lib use
code:
result:
Is it ok to make this cahnge? |
on the html formatter? ok, seems to make sense, would you be interested in a PR (including a test case like that?). that would be ok, otherwise I can take a stab at the fix. |
#217 |
my code:
and I'm getting this:
The text was updated successfully, but these errors were encountered: