Skip to content

Commit 1cbda75

Browse files
committed
Dont use self-closing tags in JSX mode
1 parent 7c38a65 commit 1cbda75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jsx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function attributeHook(name, value, context, opts) {
4040
let defaultOpts = {
4141
attributeHook,
4242
jsx: true,
43-
xml: true,
43+
xml: false,
4444
pretty: ' '
4545
};
4646

0 commit comments

Comments
 (0)