Skip to content
New issue

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

Fix: indentation for handlebars unless #1114

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Conversation

S1mplePixels
Copy link
Contributor

The unless tag {{#unless}} {{/unless}} was not seen as a template tag.
I fixed it by adding it to the template tags config.

Pull Request Check List

Resolves: #972

  • Added tests for changed code.
  • Updated documentation for changed code.

I don't think a documentation change is needed because handlebars supports unless but djlint didn't before this commit.

Sorry, something went wrong.

Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for djlint canceled.

Name Link
🔨 Latest commit 7210120
🔍 Latest deploy log https://app.netlify.com/sites/djlint/deploys/67adfa785865520008520303

@monosans
Copy link
Member

Hi! Sorry it took too long to review. Please resolve conflicts and I will merge.

@monosans monosans enabled auto-merge (squash) February 13, 2025 15:23
@monosans monosans merged commit d97b7e0 into djlint:master Feb 13, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] [Formatter] unless blocks break indention
2 participants