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
Running the script, I ran into a bug with nested if / else.
Before:
if inGoodMood if inVeryGoodMood h1 hiii else h1 hi else if inVeryBadMood span :unamused: h1 bye
After:
{{#if inGoodMood}} {{#if inVeryGoodMood}} <h1> hiii </h1> {{else}} <h1> hi </h1> {{/if}} {{else if inVeryBadMood}} <span> :unamused: </span> <h1> bye </h1> {{/if}}
(see https://github.com/dcyriller/__emblem-to-hbs-nested-if)
The text was updated successfully, but these errors were encountered:
I've opened a PR in prettier to fix the issue: prettier/prettier#6080
Sorry, something went wrong.
No branches or pull requests
Description
Running the script, I ran into a bug with nested if / else.
Reproduction
Before:
After:
(see https://github.com/dcyriller/__emblem-to-hbs-nested-if)
The text was updated successfully, but these errors were encountered: