-
Notifications
You must be signed in to change notification settings - Fork 453
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
Weird behavior in presence of template literal #1157
Comments
Just as an FYI only the whitespace not contained by the escape delimiters |
There's actually two things:
|
Pretty Diff appears to be beautifying code within the escape delimiters. If you mean to have the extra spaces padding the |
When I look at the original code sample I see two new lines in the template literal:
The first one is clearly within a template literal escape (immediately before The second one is in the same escape as the first one, but it is a bit more interesting because it follows a nested template literal. |
#1193 has been merged and published. Published to v0.29.12 |
Weird behavior in presence of template literal.
The beautified code should have looked like:
Here is a link to the
debug.md
Gist: https://gist.github.com/anonymous/d9766518dc9dceb14ea07fa3ee5c9a11The text was updated successfully, but these errors were encountered: