-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Closing tag is split for long tag names and long lines. #15432
Comments
Should it be formatting textarea at all? |
I have looked into this issue. prettier/src/language-html/print/tag.js Lines 61 to 67 in 5f7aedc
|
I have modified the code to try it out. |
Also affects the |
Prettier 3.0.3
Playground link
Input:
Output:
Expected behavior:
If I replace the
<textarea>
with a<div>
, it works as expected.The text was updated successfully, but these errors were encountered: