-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Bug: Trailing whitespace in tags is not trimmed #425
Comments
Looks like this is a follow up issue to #417, is it? |
Ah I assume the most important part here is that after the |
@ofk For me the output is html
body
p
|
a Link and not html
body
p
|
a Link So it looks like it correctly transforms the whitespace after the Please confirm that this could solve your issue and then close it, otherwise please explain more deeply what your issue is |
Sorry for the late response. Your output may be more appropriate. Input
First prettier output
Second prettier output (or apply prettier to first prettier output)
Third prettier output (or apply prettier to second prettier output)
|
@ofk AHA, that is an important info! |
Plugin Version
v2.3.0
Prettier Version
v2.8.1
Which frameworks are affected?
Node Version
v16.17.0
Which operating systems have you used?
Prettier config
Input
Output or Error
html body p | a Link
Expected Output
Additional Context
Note the mixed whitespace immediately following the
p
element.The major problem with this bug is that running prettier on this output yields an even different result (more pipes).
The text was updated successfully, but these errors were encountered: