We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
React Fragment Short Syntax gets messed up.
The beautified code results in compile errors.
class Columns extends React.Component { render() { return ( <> <td>Hello</td> <td>World</td> </> ); } }
Shouldn't change:
The code actually looked like this after beautification:
class Columns extends React.Component { render() { return ( <> <td>Hello</td> < td > World < /td> < /> ); } }
Copy paste the the sample code from docs on https://beautifier.io/
Tried on https://beautifier.io/
Default on https://beautifier.io/ (with jsx)
The text was updated successfully, but these errors were encountered:
Need to update the xml tokenizer to capture an empty tag.
xml
https://github.com/beautify-web/js-beautify/blob/97caa308491e1379b226c514f677fa4f278e15d4/js/src/javascript/tokenizer.js#L129
Sorry, something went wrong.
Hello! I was looking into this issue, could I work on it?
No branches or pull requests
Description
React Fragment Short Syntax gets messed up.
The beautified code results in compile errors.
Input
Expected Output
Shouldn't change:
Actual Output
The code actually looked like this after beautification:
Steps to Reproduce
Copy paste the the sample code from docs on https://beautifier.io/
Environment
Tried on https://beautifier.io/
Settings
Default on https://beautifier.io/ (with jsx)
The text was updated successfully, but these errors were encountered: