Skip to content
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: <textarea> is treated like a block level element, adding whitespace in value #431

Open
danawoodman opened this issue Dec 13, 2024 · 0 comments

Comments

@danawoodman
Copy link

Describe the Bug

When saving an Astro file, <textarea> is treated like a block level element which then adds whitespace into the value. Textarea content should be treated the same as <pre> and not auto-broken up into newlines.

Zight Recording 2024-12-13 at 02 27 49 PM

image

image

Steps to Reproduce

  1. npm init astro using template
  2. add a <textarea> field with a value and save it
  3. ...
  4. ...
  5. see line breaks after formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant