syn-rsx
syn-rsx copied to clipboard
Allow self-closing tags without slash for empty elements
Currently self-closing empty elements require a slash. E.g. <br/> is currently needed, but just writing <br> should also work.
This should probably be a configuration option, so that it's possible to disable the behavior to keep backwards compatibility.
See also https://developer.mozilla.org/en-US/docs/Glossary/Empty_element