-
-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Using a self-closing <textarea /> throws unexpected token for code after it, specifically in <style>
To Reproduce
Steps to reproduce the behavior:
- Add
<textarea></textarea>to a Svelte file - Autoformats to
<textarea />
Expected behavior
Expected to work like any other self closing tag.
Screenshots
-
Works with closing tag but needs to have text content inside to not autoformat it back to a self-closing tag

System (please complete the following information):
- OS: Windows 10
- IDE: VSCode
- Plugin/Package: Svelte for VSCode
Additional context
A temporary workaround is to replace textarea with <div contenteditable />

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
