-
Notifications
You must be signed in to change notification settings - Fork 893
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
Textareas being formatted by HTMLFormatter #2838
Comments
For extra context, this assertion fails (just added it for testing): assert_formatter_doesnt_change(
"""
<textarea></textarea>
""",
line_length: 5
) But seems like it shouldn't. And the root cause is the check
|
@leandrocp please send a PR with tests. I think your changes are good. |
@josevalim thanks. @APB9785 will push a PR soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Actual behavior
HTMLFormatter is adding a newline between
<textarea>
tags, which adds unexpected whitespace to the rendered outputThe tag
phx-no-format
has no effect. The newline is still added even when that attr is included.Expected behavior
The text was updated successfully, but these errors were encountered: