-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
QUnit.diff should be given dumped values before html escape #483
Comments
Use case: Started looking at jsdifflib for QUnit (thanks Ed Sanders), and that diff library outputs more sophisticated HTML (e.g. two-colum diff layout), but it takes text as input and ends up double escaped. |
@Krinkle is this and the other issues labelled "diff" something you could look into? |
@Krinkle If we move the |
@shivamdixit we should evaluate this issue in the context of using goodle-diff-patch-match (#772), since we're very likely moving to that diff implementation. |
Yup, I evaluated this issue in the context of using google-diff-patch-match library only. |
Okay. Not sure if we still need this issue, might be invalid in this context. I'll leave it open for now, maybe @Krinkle can chime in. Let's focus on other issues until then. |
Closing this since we can't reproduce the issue. |
The parameters can be serialised by jsDump, but they shouldn't be escaped yet so that a diff library can diff the real values instead of something that is already harder to work with.
Afaik nothing relies on this, we should be able to move the
escapeText
call from around the values from jsDump to around thediff()
call.The text was updated successfully, but these errors were encountered: